====== PageModel ====== **Layer:** ''Model'' · **Source:** ''lib/model/PageModel.php:19'' (lines 19–101) ---- class PageModel extends BaseModel ======= Docblock Metadata ======= ^ Tag ^ Value ^ | ''@category'' | Model class | | ''@author'' | M.Noermoehammad | | ''@license'' | MIT | | ''@version'' | 1.0 | ======= Inheritance ======= ^ Relation ^ Type ^ Meaning ^ | extends | [[scriptlog:lib:core:basemodel|''BaseModel'']] | parent class/interface | ======= Constants (0) ======= //None.// ======= Properties (0) ======= //None declared.// ======= Methods (3) ======= ^ Visibility ^ Method ^ Summary ^ Line ^ | public | ''getPageById()'' | getPageById | 30 | | public | ''getPageBySlug()'' | getPageBySlug | 59 | | public | ''getRandomStickyPages()'' | getRandomStickyPages | 87 | ======== getPageById() ======== public function getPageById($id, $sanitize, $fetchMode = null) //lines 30–50 (21)// getPageById ^ Parameter ^ Type ^ Default ^ Description ^ | ''$id'' | ''(untyped)'' | //required// | //none// | | ''$sanitize'' | ''(untyped)'' | //required// | //none// | | ''$fetchMode'' | ''(untyped)'' | ''null'' | //none// | **Returns:** ''(none declared)'' — mixed ======== getPageBySlug() ======== public function getPageBySlug($slug, $sanitize) //lines 59–79 (21)// getPageBySlug ^ Parameter ^ Type ^ Default ^ Description ^ | ''$slug'' | ''(untyped)'' | //required// | //none// | | ''$sanitize'' | ''(untyped)'' | //required// | //none// | **Returns:** ''(none declared)'' — boolean|array|object ======== getRandomStickyPages() ======== public function getRandomStickyPages() //lines 87–100 (14)// getRandomStickyPages //Takes no parameters.// **Returns:** ''(none declared)'' — mixed ======= Imports ======= ^ Alias ^ Fully-qualified name ^ | ''BaseModel'' | [[scriptlog:lib:core:basemodel|''Scriptlog\Core\BaseModel'']] | ---- //This page is generated from source by 'tools/gendoc'. Edits will be overwritten.//