Метод | Описание | |
---|---|---|
generateItems ( Yosymfony\Spress\Core\DataSource\ItemInterface $templateItem, array $collections ) |
Метод | Описание | |
---|---|---|
getAttributesResolver ( Yosymfony\Spress\Core\DataSource\ItemInterface $templateItem ) | ||
getPagePermalink ( $pageRelativePath ) | ||
getPageRelativePath ( $basePath, $template, $page ) | ||
getProviderItems ( array $collections, $providerName, $templateItemPath ) | ||
providerToCollection ( $providerName ) | ||
sortItemsByAttribute ( array $items, $attribute, $sortType ) |
public generateItems ( Yosymfony\Spress\Core\DataSource\ItemInterface $templateItem, array $collections ) | ||
$templateItem | Yosymfony\Spress\Core\DataSource\ItemInterface | |
$collections | array |
protected getAttributesResolver ( Yosymfony\Spress\Core\DataSource\ItemInterface $templateItem ) | ||
$templateItem | Yosymfony\Spress\Core\DataSource\ItemInterface |
protected getPageRelativePath ( $basePath, $template, $page ) |
protected getProviderItems ( array $collections, $providerName, $templateItemPath ) | ||
$collections | array |
protected sortItemsByAttribute ( array $items, $attribute, $sortType ) | ||
$items | array |