Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:dao:pagedao

Differences

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

Link to this comparison view

scriptlog:lib:dao:pagedao [2026/09/26 09:09] – admin adminscriptlog:lib:dao:pagedao [2026/09/26 09:16] (current) – admin admin
Line 12: Line 12:
 ======= Docblock Metadata ======= ======= Docblock Metadata =======
  
-  ^ Tag ^ Value ^ +^ Tag ^ Value ^ 
-  | ''@category'' | Dao Class | +| ''@category'' | Dao Class | 
-  | ''@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:dao|''Dao'']] | parent class/interface |+| extends | [[scriptlog:lib:core:dao|''Dao'']] | parent class/interface |
  
 ======= Constants (0) ======= ======= Constants (0) =======
Line 34: Line 34:
 ======= Methods (11) ======= ======= Methods (11) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public | ''__construct()'' | (undocumented) | 23 | +| public | ''__construct()'' | (undocumented) | 23 | 
-  | public | ''findPages()'' | Find pages | 35 | +| public | ''findPages()'' | Find pages | 35 | 
-  | public | ''findPageById()'' | Find page by id | 99 | +| public | ''findPageById()'' | Find page by id | 99 | 
-  | public | ''createPage()'' | createPage() | 135 | +| public | ''createPage()'' | createPage() | 135 | 
-  | public | ''updatePage()'' | UpdatePage | 173 | +| public | ''updatePage()'' | UpdatePage | 173 | 
-  | public | ''deletePage()'' | deletePage | 211 | +| public | ''deletePage()'' | deletePage | 211 | 
-  | public | ''checkPageId()'' | Check page id | 228 | +| public | ''checkPageId()'' | Check page id | 228 | 
-  | public | ''dropDownPostStatus()'' | Set post status | 243 | +| public | ''dropDownPostStatus()'' | Set post status | 243 | 
-  | public | ''dropDownCommentStatus()'' | Set comment status | 257 | +| public | ''dropDownCommentStatus()'' | Set comment status | 257 | 
-  | public | ''totalPageRecords()'' | Total page records | 271 | +| public | ''totalPageRecords()'' | Total page records | 271 | 
-  | public | ''dropDownLocale()'' | Drop down locale | 287 |+| public | ''dropDownLocale()'' | Drop down locale | 287 |
  
  
Line 69: Line 69:
 Find pages Find pages
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$type'' | ''(untyped)'' | //required// | //none// | +|  ''$type'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$orderBy'' | ''(untyped)'' | '''ID''' | //none// | +|  ''$orderBy'' |  ''(untyped)'' |  '''ID''' |  //none// | 
-  | ''$author'' | ''(untyped)'' | ''null'' | //none// |+|  ''$author'' |  ''(untyped)'' |  ''null'' |  //none// |
  
 **Returns:** ''(none declared)'' — boolean|array|object **Returns:** ''(none declared)'' — boolean|array|object
Line 87: Line 87:
 Find page by id Find page 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)'' — boolean|array|object **Returns:** ''(none declared)'' — boolean|array|object
Line 106: Line 106:
 Insert new page record Insert new page record
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$bind'' | ''(untyped)'' | //required// | //none// |+|  ''$bind'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''void'' **Returns:** ''void''
Line 124: Line 124:
 Updating an existing page record Updating an existing page record
  
-  ^ 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:** ''void'' **Returns:** ''void''
Line 144: Line 144:
 Deleting an existing record based on it's ID Deleting an existing record based on it's 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// | 
-  | ''$type'' | ''(untyped)'' | //required// | //none// |+|  ''$type'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''void'' **Returns:** ''void''
Line 162: Line 162:
 Check page id Check page id
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | //required// | //none// | +|  ''$id'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$sanitizing'' | ''(untyped)'' | //required// | //none// |+|  ''$sanitizing'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — numeric **Returns:** ''(none declared)'' — numeric
Line 179: Line 179:
 Set post status Set post status
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$selected'' | ''(untyped)'' | ''""'' | //none// |+|  ''$selected'' |  ''(untyped)'' |  ''""'' |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 195: Line 195:
 Set comment status Set comment status
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$selected'' | ''(untyped)'' | '''''' | //none// |+|  ''$selected'' |  ''(untyped)'' |  '''''' |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 211: Line 211:
 Total page records Total page records
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$data'' | ''array'' | ''[]'' | //none// |+|  ''$data'' |  ''array'' |  ''[]'' |  //none// |
  
 **Returns:** ''?int'' — numeric **Returns:** ''?int'' — numeric
Line 227: Line 227:
 Drop down locale Drop down locale
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$selected'' | ''(untyped)'' | ''""'' | //none// |+|  ''$selected'' |  ''(untyped)'' |  ''""'' |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 234: Line 234:
 ======= 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/pagedao.1790413760.txt.gz · Last modified: by admin