Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:controller:commentcontroller

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
scriptlog:lib:controller:commentcontroller [2026/09/26 09:09] – admin adminscriptlog:lib:controller:commentcontroller [2026/09/26 09:34] (current) – admin admin
Line 10: Line 10:
 ======= 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) =======
Line 26: Line 26:
 //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 |
  
  
Line 49: Line 51:
 //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// |
  
  
Line 99: Line 101:
 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)''
Line 117: Line 119:
 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)''
Line 131: Line 133:
 //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)''
Line 138: Line 140:
 ======= 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'']] |
  
  
scriptlog/lib/controller/commentcontroller.1790413759.txt.gz · Last modified: by admin