PHP Класс Frontend\Modules\Pages\Engine\Model

Наследование: implements Frontend\Modules\Tags\Engine\TagsInterface
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
getForTags ( array $ids ) : array Fetch a list of items for a list of ids
getIdForTags ( Url $url ) : integer Get the id of an item by the full URL of the current page.
getSubpages ( integer $id ) : array Fetch a list of subpages of a page.
search ( array $ids ) : array Parse the search results for this module

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

getForTags() публичный статический метод

Fetch a list of items for a list of ids
public static getForTags ( array $ids ) : array
$ids array The ids of the items to grab.
Результат array

getIdForTags() публичный статический метод

Selects the proper part of the full URL to get the item's id from the database.
public static getIdForTags ( Url $url ) : integer
$url Frontend\Core\Engine\Url The current URL.
Результат integer

getSubpages() публичный статический метод

Fetch a list of subpages of a page.
public static getSubpages ( integer $id ) : array
$id integer The id of the item to grab the subpages for.
Результат array