====== TagModel ====== **Layer:** ''Model'' · **Source:** ''lib/model/TagModel.php:20'' (lines 20–115) ---- class TagModel 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 (1) ======= ^ Visibility ^ Type ^ Name ^ Default ^ Line ^ | ''private'' | ''(untyped)'' | ''$linkPosts'' | | 28 | ======= Methods (2) ======= ^ Visibility ^ Method ^ Summary ^ Line ^ | public | ''getLinkTag()'' | getLinkTag() | 39 | | public | ''getPostsPublishedByTag()'' | getPostsPublishedByTag | 73 | ======== getLinkTag() ======== public function getLinkTag($postId, $sanitize) //lines 39–63 (25)// getLinkTag() ^ Parameter ^ Type ^ Default ^ Description ^ | ''$postId'' | ''(untyped)'' | //required// | //none// | | ''$sanitize'' | ''(untyped)'' | //required// | //none// | **Returns:** ''(none declared)'' ======== getPostsPublishedByTag() ======== public function getPostsPublishedByTag($tag, $sanitize, Paginator $perPage) //lines 73–114 (42)// getPostsPublishedByTag ^ Parameter ^ Type ^ Default ^ Description ^ | ''$tag'' | ''(untyped)'' | //required// | //none// | | ''$sanitize'' | ''(untyped)'' | //required// | //none// | | ''$perPage'' | [[scriptlog:lib:core:paginator|''Paginator'']] | //required// | //none// | **Returns:** ''(none declared)'' — mixed ======= Imports ======= ^ Alias ^ Fully-qualified name ^ | ''BaseModel'' | [[scriptlog:lib:core:basemodel|''Scriptlog\Core\BaseModel'']] | | ''Paginator'' | [[scriptlog:lib:core:paginator|''Scriptlog\Core\Paginator'']] | ---- //This page is generated from source by 'tools/gendoc'. Edits will be overwritten.//