Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:dao:replydao

Differences

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

Link to this comparison view

Next revision
Previous revision
scriptlog:lib:dao:replydao [2026/09/26 09:09] – admin adminscriptlog:lib:dao:replydao [2026/09/26 09:34] (current) – admin admin
Line 10: Line 10:
 ======= Docblock Metadata ======= ======= Docblock Metadata =======
  
-  ^ Tag ^ Value ^ +^ Tag ^ Value ^ 
-  | ''@category'' | Dao class | +| ''@category'' | Dao class | 
-  | ''@author'' | M.Noermoehammad | +| ''@author'' | M.Noermoehammad | 
-  | ''@license'' | MIT |+| ''@license'' | MIT |
  
 ======= Inheritance ======= ======= Inheritance =======
  
-  ^ Relation ^ Type ^ Meaning ^ +^ Relation ^ Type ^ Meaning ^ 
-  | extends | [[scriptlog:lib:core:dao|''Dao'']] | parent class/interface |+| extends | [[scriptlog:lib:core:dao|''Dao'']] | parent class/interface |
  
 ======= Constants (0) ======= ======= Constants (0) =======
Line 24: Line 24:
 //None.// //None.//
  
-======= Properties (0) =======+======= Properties (1) =======
  
-//None declared.//+^ Visibility ^ Type ^ Name ^ Default ^ Line ^ 
 +| ''private'' | ''(untyped)'' | ''$selected'' |  | 20 |
  
 ======= Methods (11) ======= ======= Methods (11) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public | ''__construct()'' | (undocumented) | 22 | +| public | ''__construct()'' | (undocumented) | 22 | 
-  | public | ''createReply()'' | Create Reply | 33 | +| public | ''createReply()'' | Create Reply | 33 | 
-  | public | ''findReplies()'' | Find Replies by Comment ID (parent) | 69 | +| public | ''findReplies()'' | Find Replies by Comment ID (parent) | 69 | 
-  | public | ''findReply()'' | Find Reply by ID | 93 | +| public | ''findReply()'' | Find Reply by ID | 93 | 
-  | public | ''findRepliesByPost()'' | Find Replies for a Post (all replies in thread) | 120 | +| public | ''findRepliesByPost()'' | Find Replies for a Post (all replies in thread) | 120 | 
-  | public | ''updateReply()'' | Update Reply | 141 | +| public | ''updateReply()'' | Update Reply | 141 | 
-  | public | ''deleteReply()'' | Delete Reply | 162 | +| public | ''deleteReply()'' | Delete Reply | 162 | 
-  | public | ''checkReplyId()'' | Check Reply ID exists | 179 | +| public | ''checkReplyId()'' | Check Reply ID exists | 179 | 
-  | public | ''getParentComment()'' | Get Parent Comment for Reply | 195 | +| public | ''getParentComment()'' | Get Parent Comment for Reply | 195 | 
-  | public | ''totalReplyRecords()'' | Total Reply Records | 217 | +| public | ''totalReplyRecords()'' | Total Reply Records | 217 | 
-  | public | ''dropDownReplyStatement()'' | Dropdown for Reply Status | 236 |+| public | ''dropDownReplyStatement()'' | Dropdown for Reply Status | 236 |
  
  
Line 65: Line 66:
 Create Reply Create Reply
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$bind'' | ''(untyped)'' | //required// | //none// |+|  ''$bind'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — int|bool **Returns:** ''(none declared)'' — int|bool
Line 81: Line 82:
 Find Replies by Comment ID (parent) Find Replies by Comment ID (parent)
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$commentId'' | ''(untyped)'' | //required// | //none// | +|  ''$commentId'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$orderBy'' | ''(untyped)'' | '''ID''' | //none// |+|  ''$orderBy'' |  ''(untyped)'' |  '''ID''' |  //none// |
  
 **Returns:** ''(none declared)'' — array|null **Returns:** ''(none declared)'' — array|null
Line 98: Line 99:
 Find Reply by ID Find Reply by ID
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | //required// | //none// | +|  ''$id'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$sanitize'' | ''(untyped)'' | //required// | //none// |+|  ''$sanitize'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — array|null **Returns:** ''(none declared)'' — array|null
Line 115: Line 116:
 Find Replies for a Post (all replies in thread) Find Replies for a Post (all replies in thread)
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$postId'' | ''(untyped)'' | //required// | //none// | +|  ''$postId'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$orderBy'' | ''(untyped)'' | '''ID''' | //none// |+|  ''$orderBy'' |  ''(untyped)'' |  '''ID''' |  //none// |
  
 **Returns:** ''(none declared)'' — array|null **Returns:** ''(none declared)'' — array|null
Line 132: Line 133:
 Update Reply Update Reply
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$sanitize'' | ''(untyped)'' | //required// | //none// | +|  ''$sanitize'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$bind'' | ''(untyped)'' | //required// | //none// | +|  ''$bind'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$ID'' | ''(untyped)'' | //required// | //none// |+|  ''$ID'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 150: Line 151:
 Delete Reply Delete Reply
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | //required// | //none// | +|  ''$id'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$sanitize'' | ''(untyped)'' | //required// | //none// |+|  ''$sanitize'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 167: Line 168:
 Check Reply ID exists Check Reply ID exists
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | //required// | //none// | +|  ''$id'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$sanitize'' | ''(untyped)'' | //required// | //none// |+|  ''$sanitize'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — bool **Returns:** ''(none declared)'' — bool
Line 184: Line 185:
 Get Parent Comment for Reply Get Parent Comment for Reply
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$parentId'' | ''(untyped)'' | //required// | //none// | +|  ''$parentId'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$sanitize'' | ''(untyped)'' | //required// | //none// |+|  ''$sanitize'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — array|null **Returns:** ''(none declared)'' — array|null
Line 201: Line 202:
 Total Reply Records Total Reply Records
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$data'' | ''(untyped)'' | ''null'' | //none// | +|  ''$data'' |  ''(untyped)'' |  ''null'' |  //none// | 
-  | ''$parentId'' | ''(untyped)'' | ''null'' | //none// |+|  ''$parentId'' |  ''(untyped)'' |  ''null'' |  //none// |
  
 **Returns:** ''(none declared)'' — int **Returns:** ''(none declared)'' — int
Line 218: Line 219:
 Dropdown for Reply Status Dropdown for Reply Status
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$selected'' | ''(untyped)'' | '''''' | //none// |+|  ''$selected'' |  ''(untyped)'' |  '''''' |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 225: Line 226:
 ======= Imports ======= ======= Imports =======
  
-  ^ Alias ^ Fully-qualified name ^ +^ Alias ^ Fully-qualified name ^ 
-  | ''Dao'' | [[scriptlog:lib:core:dao|''Scriptlog\Core\Dao'']] |+| ''Dao'' | [[scriptlog:lib:core:dao|''Scriptlog\Core\Dao'']] |
  
  
scriptlog/lib/dao/replydao.1790413760.txt.gz · Last modified: by admin