Layer: Model · Source: lib/model/TagModel.php:20 (lines 20–115)
class TagModel extends BaseModel
| Tag | Value |
|---|---|
@category | Model class |
@author | M.Noermoehammad |
@license | MIT |
@version | 1.0 |
| Relation | Type | Meaning |
|---|---|---|
| extends | ''BaseModel'' | parent class/interface |
None.
| Visibility | Type | Name | Default | Line |
|---|---|---|---|---|
private | (untyped) | $linkPosts | 28 |
| Visibility | Method | Summary | Line |
|---|---|---|---|
| public | getLinkTag() | getLinkTag() | 39 |
| public | getPostsPublishedByTag() | getPostsPublishedByTag | 73 |
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)
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 | ''Paginator'' | required | none |
Returns: (none declared) — mixed
| Alias | Fully-qualified name |
|---|---|
BaseModel | ''Scriptlog\Core\BaseModel'' |
Paginator | ''Scriptlog\Core\Paginator'' |
This page is generated from source by 'tools/gendoc'. Edits will be overwritten.