Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:sessionmaker

Differences

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

Link to this comparison view

Next revision
Previous revision
scriptlog:lib:core:sessionmaker [2026/09/26 09:09] – admin adminscriptlog:lib:core:sessionmaker [2026/09/26 09:34] (current) – admin admin
Line 10: Line 10:
 ======= Docblock Metadata ======= ======= Docblock Metadata =======
  
-  ^ Tag ^ Value ^ +^ Tag ^ Value ^ 
-  | ''@category'' | Core Class | +| ''@category'' | Core Class | 
-  | ''@author'' | M.Noermoehammad | +| ''@author'' | M.Noermoehammad | 
-  | ''@license'' | MIT | +| ''@license'' | MIT | 
-  | ''@version'' | 1.0 |+| ''@version'' | 1.0 |
  
 ======= Inheritance ======= ======= Inheritance =======
  
-  ^ Relation ^ Type ^ Meaning ^ +^ Relation ^ Type ^ Meaning ^ 
-  | extends | ''\SessionHandler'' | parent class/interface |+| extends | ''\SessionHandler'' | parent class/interface |
  
 ======= Constants (0) ======= ======= Constants (0) =======
Line 25: Line 25:
 //None.// //None.//
  
-======= Properties (1) =======+======= Properties (3) =======
  
-  ^ Visibility ^ Type ^ Name ^ Default ^ Line ^ +^ Visibility ^ Type ^ Name ^ Default ^ Line ^ 
-  | ''protected'' | ''(untyped)'' | ''$cookie'' | ''[];'' | 41 |+| ''protected'' | ''(untyped)'' | ''$key'' |  | 25 | 
 +| ''protected'' | ''(untyped)'' | ''$name'' |  | 33 | 
 +| ''protected'' | ''(untyped)'' | ''$cookie'' | ''[]'' | 41 |
  
 ======= Methods (13) ======= ======= Methods (13) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public | ''__construct()'' | Instantiate session cookies | 52 | +| public | ''__construct()'' | Instantiate session cookies | 52 | 
-  | private | ''setup()'' | setup | 113 | +| private | ''setup()'' | setup | 113 | 
-  | public | ''start()'' | start | 141 | +| public | ''start()'' | start | 141 | 
-  | public | ''forget()'' | forget | 178 | +| public | ''forget()'' | forget | 178 | 
-  | public | ''refresh()'' | refresh | 200 | +| public | ''refresh()'' | refresh | 200 | 
-  | public | ''read()'' | read | 212 | +| public | ''read()'' | read | 212 | 
-  | public | ''write()'' | write | 235 | +| public | ''write()'' | write | 235 | 
-  | public | ''isExpired()'' | isExpired | 255 | +| public | ''isExpired()'' | isExpired | 255 | 
-  | public | ''isGenuine()'' | isGenuine | 274 | +| public | ''isGenuine()'' | isGenuine | 274 | 
-  | public | ''isValid()'' | isValid | 299 | +| public | ''isValid()'' | isValid | 299 | 
-  | protected | ''encrypt()'' | encrypy | 312 | +| protected | ''encrypt()'' | encrypy | 312 | 
-  | protected | ''decrypt()'' | decrypt | 329 | +| protected | ''decrypt()'' | decrypt | 329 | 
-  | private | ''isSessionStarted()'' | isSessionStarted | 364 |+| private | ''isSessionStarted()'' | isSessionStarted | 364 |
  
  
Line 58: Line 60:
 Instantiate session cookies Instantiate session cookies
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$key'' | ''(untyped)'' | //required// | //none// | +|  ''$key'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$name'' | ''(untyped)'' | '''_scriptlog''' | //none// | +|  ''$name'' |  ''(untyped)'' |  '''_scriptlog''' |  //none// | 
-  | ''$cookie'' | ''(untyped)'' | ''[]'' | //none// |+|  ''$cookie'' |  ''(untyped)'' |  ''[]'' |  //none// |
  
  
Line 128: Line 130:
 //lines 212–226 (15)// //lines 212–226 (15)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | //required// | //none// |+|  ''$id'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''string'' — string **Returns:** ''string'' — string
Line 142: Line 144:
 //lines 235–246 (12)// //lines 235–246 (12)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | //required// | //none// | +|  ''$id'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$data'' | ''(untyped)'' | //required// | //none// |+|  ''$data'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''bool'' — boolean **Returns:** ''bool'' — boolean
Line 159: Line 161:
 isExpired isExpired
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$ttl'' | ''(untyped)'' | ''60'' | //none// |+|  ''$ttl'' |  ''(untyped)'' |  ''60'' |  //none// |
  
 **Returns:** ''(none declared)'' — boolean **Returns:** ''(none declared)'' — boolean
Line 190: Line 192:
 isValid isValid
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$ttl'' | ''(untyped)'' | ''60'' | //none// |+|  ''$ttl'' |  ''(untyped)'' |  ''60'' |  //none// |
  
 **Returns:** ''(none declared)'' — boolean **Returns:** ''(none declared)'' — boolean
Line 204: Line 206:
 //lines 312–320 (9)// //lines 312–320 (9)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$data'' | ''(untyped)'' | //required// | //none// | +|  ''$data'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$key'' | ''(untyped)'' | //required// | //none// |+|  ''$key'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 219: Line 221:
 //lines 329–355 (27)// //lines 329–355 (27)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$data'' | ''(untyped)'' | //required// | //none// | +|  ''$data'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$key'' | ''(untyped)'' | //required// | //none// |+|  ''$key'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
scriptlog/lib/core/sessionmaker.1790413762.txt.gz · Last modified: by admin