scriptlog:lib:controller:replycontroller
This is an old revision of the document!
Table of Contents
ReplyController
Layer: Controller · Source: lib/controller/ReplyController.php:26 (lines 26–329)
class ReplyController extends BaseApp
Docblock Metadata
^ Tag ^ Value ^ | ''@category'' | Class ReplyController extends BaseApp | | ''@author'' | M.Noermoehammad | | ''@license'' | MIT | | ''@version'' | 1.0 | | ''@since'' | Since Release 1.0 |
Inheritance
^ Relation ^ Type ^ Meaning ^ | extends | [[scriptlog:lib:core:baseapp|''BaseApp'']] | parent class/interface |
Constants (0)
None.
Properties (0)
None declared.
Methods (6)
^ Visibility ^ Method ^ Summary ^ Line ^ | public | ''__construct()'' | (undocumented) | 31 | | public | ''listItems()'' | List Replies for a Parent Comment | 42 | | public | ''insert()'' | Insert New Reply | 88 | | public | ''update()'' | Update Reply | 182 | | public | ''remove()'' | Remove Reply | 278 | | protected | ''setView()'' | (undocumented) | 325 |
__construct()
public function __construct(ReplyService $replyService)
lines 31–34 (4)
^ Parameter ^ Type ^ Default ^ Description ^ | ''$replyService'' | [[scriptlog:lib:service:replyservice|''ReplyService'']] | //required// | //none// |
listItems()
public function listItems($parentId = null)
lines 42–81 (40)
List Replies for a Parent Comment
^ Parameter ^ Type ^ Default ^ Description ^ | ''$parentId'' | ''(untyped)'' | ''null'' | //none// |
Returns: (none declared) — string
insert()
public function insert()
lines 88–174 (87)
Insert New Reply
Takes no parameters.
Returns: (none declared) — string
update()
public function update($id)
lines 182–271 (90)
Update Reply
^ Parameter ^ Type ^ Default ^ Description ^ | ''$id'' | ''(untyped)'' | //required// | //none// |
Returns: (none declared) — string
remove()
public function remove($id)
lines 278–323 (46)
Remove Reply
^ Parameter ^ Type ^ Default ^ Description ^ | ''$id'' | ''(untyped)'' | //required// | //none// |
Returns: (none declared)
setView()
protected function setView($viewName)
lines 325–328 (4)
^ Parameter ^ Type ^ Default ^ Description ^ | ''$viewName'' | ''(untyped)'' | //required// | //none// |
Returns: (none declared)
Imports
^ Alias ^ Fully-qualified name ^ | ''ActionConst'' | [[scriptlog:lib:core:actionconst|''Scriptlog\Core\ActionConst'']] | | ''AppException'' | [[scriptlog:lib:core:appexception|''Scriptlog\Core\AppException'']] | | ''BaseApp'' | [[scriptlog:lib:core:baseapp|''Scriptlog\Core\BaseApp'']] | | ''LogError'' | [[scriptlog:lib:core:logerror|''Scriptlog\Core\LogError'']] | | ''Sanitize'' | [[scriptlog:lib:core:sanitize|''Scriptlog\Core\Sanitize'']] | | ''View'' | [[scriptlog:lib:core:view|''Scriptlog\Core\View'']] | | ''ReplyService'' | [[scriptlog:lib:service:replyservice|''Scriptlog\Service\ReplyService'']] |
This page is generated from source by 'tools/gendoc'. Edits will be overwritten.
scriptlog/lib/controller/replycontroller.1790413759.txt.gz · Last modified: by admin
