ORDER_ASC
ORDER_ASC
the Repository class for pages
$cache : \Phile\ServiceLocator\CacheInterface
findByPath(string $path, string $folder) : null|\Phile\Model\Page
find a page by path
string | $path | |
string | $folder |
getPage(mixed $filePath, string $folder) : mixed|\Phile\Model\Page
get page from cache or filepath
mixed | $filePath | |
string | $folder |
compareByTitleAsc(\Phile\Model\Page $a, \Phile\Model\Page $b) : int
usort function for Titles Asc
\Phile\Model\Page | $a | |
\Phile\Model\Page | $b |
compareByTitleDesc(\Phile\Model\Page $a, \Phile\Model\Page $b) : int
usort function for Titles Desc
\Phile\Model\Page | $a | |
\Phile\Model\Page | $b |