| Next revision | Previous revision |
| scriptlog:lib:controller:commentcontroller [2026/09/26 09:09] – admin admin | scriptlog:lib:controller:commentcontroller [2026/09/26 09:34] (current) – admin admin |
|---|
| ======= Docblock Metadata ======= | ======= Docblock Metadata ======= |
| |
| ^ Tag ^ Value ^ | ^ Tag ^ Value ^ |
| | ''@category'' | Class CommentController extends BaseApp | | | ''@category'' | Class CommentController extends BaseApp | |
| | ''@author'' | M.Noermoehammad | | | ''@author'' | M.Noermoehammad | |
| | ''@license'' | MIT | | | ''@license'' | MIT | |
| | ''@version'' | 1.0 | | | ''@version'' | 1.0 | |
| | ''@since'' | Since Release 1.0 | | | ''@since'' | Since Release 1.0 | |
| |
| ======= Inheritance ======= | ======= Inheritance ======= |
| |
| ^ Relation ^ Type ^ Meaning ^ | ^ Relation ^ Type ^ Meaning ^ |
| | extends | [[scriptlog:lib:core:baseapp|''BaseApp'']] | parent class/interface | | | extends | [[scriptlog:lib:core:baseapp|''BaseApp'']] | parent class/interface | |
| |
| ======= Constants (0) ======= | ======= Constants (0) ======= |
| //None.// | //None.// |
| |
| ======= Properties (0) ======= | ======= Properties (2) ======= |
| |
| //None declared.// | ^ Visibility ^ Type ^ Name ^ Default ^ Line ^ |
| | | ''private'' | ''(untyped)'' | ''$view'' | | 36 | |
| | | ''private'' | ''(untyped)'' | ''$commentService'' | | 44 | |
| |
| ======= Methods (6) ======= | ======= Methods (6) ======= |
| |
| ^ Visibility ^ Method ^ Summary ^ Line ^ | ^ Visibility ^ Method ^ Summary ^ Line ^ |
| | public | ''__construct()'' | __constructor | 52 | | | public | ''__construct()'' | __constructor | 52 | |
| | public | ''listItems()'' | abstract method list items | 61 | | | public | ''listItems()'' | abstract method list items | 61 | |
| | public | ''insert()'' | abstract method insert | 106 | | | public | ''insert()'' | abstract method insert | 106 | |
| | public | ''update()'' | Abstract method update | 115 | | | public | ''update()'' | Abstract method update | 115 | |
| | public | ''remove()'' | Abstract method remove | 205 | | | public | ''remove()'' | Abstract method remove | 205 | |
| | protected | ''setView()'' | (undocumented) | 251 | | | protected | ''setView()'' | (undocumented) | 251 | |
| |
| |
| //lines 52–55 (4)// | //lines 52–55 (4)// |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$commentService'' | [[scriptlog:lib:service:commentservice|''CommentService'']] | //required// | //none// | | | ''$commentService'' | [[scriptlog:lib:service:commentservice|''CommentService'']] | //required// | //none// | |
| |
| |
| Abstract method update | Abstract method update |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$id'' | ''(untyped)'' | //required// | //none// | | | ''$id'' | ''(untyped)'' | //required// | //none// | |
| |
| **Returns:** ''(none declared)'' | **Returns:** ''(none declared)'' |
| Abstract method remove | Abstract method remove |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$id'' | ''(untyped)'' | //required// | //none// | | | ''$id'' | ''(untyped)'' | //required// | //none// | |
| |
| **Returns:** ''(none declared)'' | **Returns:** ''(none declared)'' |
| //lines 251–254 (4)// | //lines 251–254 (4)// |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$viewName'' | ''(untyped)'' | //required// | //none// | | | ''$viewName'' | ''(untyped)'' | //required// | //none// | |
| |
| **Returns:** ''(none declared)'' | **Returns:** ''(none declared)'' |
| ======= Imports ======= | ======= Imports ======= |
| |
| ^ Alias ^ Fully-qualified name ^ | ^ Alias ^ Fully-qualified name ^ |
| | ''ActionConst'' | [[scriptlog:lib:core:actionconst|''Scriptlog\Core\ActionConst'']] | | | ''ActionConst'' | [[scriptlog:lib:core:actionconst|''Scriptlog\Core\ActionConst'']] | |
| | ''AppException'' | [[scriptlog:lib:core:appexception|''Scriptlog\Core\AppException'']] | | | ''AppException'' | [[scriptlog:lib:core:appexception|''Scriptlog\Core\AppException'']] | |
| | ''BaseApp'' | [[scriptlog:lib:core:baseapp|''Scriptlog\Core\BaseApp'']] | | | ''BaseApp'' | [[scriptlog:lib:core:baseapp|''Scriptlog\Core\BaseApp'']] | |
| | ''LogError'' | [[scriptlog:lib:core:logerror|''Scriptlog\Core\LogError'']] | | | ''LogError'' | [[scriptlog:lib:core:logerror|''Scriptlog\Core\LogError'']] | |
| | ''Sanitize'' | [[scriptlog:lib:core:sanitize|''Scriptlog\Core\Sanitize'']] | | | ''Sanitize'' | [[scriptlog:lib:core:sanitize|''Scriptlog\Core\Sanitize'']] | |
| | ''View'' | [[scriptlog:lib:core:view|''Scriptlog\Core\View'']] | | | ''View'' | [[scriptlog:lib:core:view|''Scriptlog\Core\View'']] | |
| | ''CommentService'' | [[scriptlog:lib:service:commentservice|''Scriptlog\Service\CommentService'']] | | | ''CommentService'' | [[scriptlog:lib:service:commentservice|''Scriptlog\Service\CommentService'']] | |
| |
| |