PHP Interface Networking\InitCmsBundle\Model\MenuItemManagerInterface

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

Public Methods

Method 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 method

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

getChildrenByStatus() public method

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
return mixed

getRootNodesByLocale() public method

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