Layer: DAO · Source: lib/dao/PostTopicDao.php:20 (lines 20–110)
class PostTopicDao extends Dao
PostTopic class extends Dao
| Tag | Value |
|---|---|
@category | Dao Class |
@author | M.Noermoehammad |
@license | MIT |
@version | 1.0 |
@since | Since Release 1.0 |
| Relation | Type | Meaning |
|---|---|---|
| extends | ''Dao'' | parent class/interface |
None.
None declared.
| Visibility | Method | Summary | Line |
|---|---|---|---|
| public | __construct() | (undocumented) | 22 |
| public | findPostTopic() | Find post topic | 34 |
| public | setLinkTopics() | SetLinkTopics | 60 |
| public | showPostByTopic() | show post by topic | 85 |
public function __construct()
lines 22–25 (4)
Takes no parameters.
public function findPostTopic($postId, $sanitize)
lines 34–49 (16)
Find post topic
| Parameter | Type | Default | Description |
|---|---|---|---|
$postId | (untyped) | required | none |
$sanitize | (untyped) | required | none |
Returns: (none declared) — boolean|array|object
public function setLinkTopics($postId, $sanitize, $position = 'href', $href_attr = "")
lines 60–76 (17)
SetLinkTopics
| Parameter | Type | Default | Description |
|---|---|---|---|
$postId | (untyped) | required | none |
$sanitize | (untyped) | required | none |
$position | (untyped) | 'href' | none |
$href_attr | (untyped) | “” | none |
Returns: (none declared) — string
public function showPostByTopic($topicId, $sanitize)
lines 85–109 (25)
show post by topic
| Parameter | Type | Default | Description |
|---|---|---|---|
$topicId | (untyped) | required | none |
$sanitize | (untyped) | required | none |
Returns: (none declared) — boolean|array|object
| Alias | Fully-qualified name |
|---|---|
Dao | ''Scriptlog\Core\Dao'' |
This page is generated from source by 'tools/gendoc'. Edits will be overwritten.