PHP Class Gc\View\Helper\Documents

Inheritance: extends Zend\View\Helper\AbstractHelper
Afficher le fichier Open project: gotcms/gotcms Class Usage Examples

Méthodes publiques

Méthode Description
__invoke ( mixed $data = null ) : array Returns documents $data can be mixed if data is an array, return all documents if data is numeric, return all documents with parent_id equal to $data if data is string, return all documents with parent's url key equal to $data

Method Details

__invoke() public méthode

Returns documents $data can be mixed if data is an array, return all documents if data is numeric, return all documents with parent_id equal to $data if data is string, return all documents with parent's url key equal to $data
public __invoke ( mixed $data = null ) : array
$data mixed Data
Résultat array \Gc\Document\Model