Table of Contents

PostTopicDao

Layer: DAO · Source: lib/dao/PostTopicDao.php:20 (lines 20–110)


class PostTopicDao extends Dao

PostTopic class extends Dao

Docblock Metadata

Tag Value
@category Dao Class
@author M.Noermoehammad
@license MIT
@version 1.0
@since Since Release 1.0

Inheritance

Relation Type Meaning
extends ''Dao'' parent class/interface

Constants (0)

None.

Properties (0)

None declared.

Methods (4)

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

__construct()

public function __construct()

lines 22–25 (4)

Takes no parameters.

findPostTopic()

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

setLinkTopics()

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

showPostByTopic()

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

Imports

Alias Fully-qualified name
Dao ''Scriptlog\Core\Dao''

This page is generated from source by 'tools/gendoc'. Edits will be overwritten.