PHP Interface Networking\InitCmsBundle\Model\MenuItemManagerInterface

Author: Yorkie Chadwick ([email protected])
Afficher le fichier Open project: networking/init-cms-bundle Interface Usage Examples

Méthodes publiques

Méthode Description
findOneBy ( array $criteria ) : object Finds a single object by a set of criteria.
getChildrenByStatus ( null $node = null, boolean $direct = false, null $sortByField = null, string $direction = 'ASC', boolean $includeNode = false, $viewStatus = Page::STATUS_PUBLISHED ) : mixed
getRootNodesByLocale ( $locale, null $sortByField = null, string $direction = 'asc' ) : array

Method Details

findOneBy() public méthode

Finds a single object by a set of criteria.
public findOneBy ( array $criteria ) : object
$criteria array The criteria.
Résultat object The object.

getChildrenByStatus() public méthode

public getChildrenByStatus ( null $node = null, boolean $direct = false, null $sortByField = null, string $direction = 'ASC', boolean $includeNode = false, $viewStatus = Page::STATUS_PUBLISHED ) : mixed
$node null
$direct boolean
$sortByField null
$direction string
$includeNode boolean
$viewStatus
Résultat mixed

getRootNodesByLocale() public méthode

public getRootNodesByLocale ( $locale, null $sortByField = null, string $direction = 'asc' ) : array
$locale
$sortByField null
$direction string
Résultat array