PHP Интерфейс Networking\InitCmsBundle\Model\MenuItemManagerInterface

Автор: Yorkie Chadwick ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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

Описание методов

findOneBy() публичный метод

Finds a single object by a set of criteria.
public findOneBy ( array $criteria ) : object
$criteria array The criteria.
Результат object The object.

getChildrenByStatus() публичный метод

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
Результат mixed

getRootNodesByLocale() публичный метод

public getRootNodesByLocale ( $locale, null $sortByField = null, string $direction = 'asc' ) : array
$locale
$sortByField null
$direction string
Результат array