Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:sanitize

Differences

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

Link to this comparison view

scriptlog:lib:core:sanitize [2026/09/26 09:09] – admin adminscriptlog:lib:core:sanitize [2026/09/26 09:16] (current) – admin admin
Line 14: Line 14:
 ======= Docblock Metadata ======= ======= Docblock Metadata =======
  
-  ^ Tag ^ Value ^ +^ Tag ^ Value ^ 
-  | ''@category'' | Core Class | +| ''@category'' | Core Class | 
-  | ''@author'' | Khairu a.k.a wenkhairu | +| ''@author'' | Khairu a.k.a wenkhairu | 
-  | ''@author'' | M.Noermoehammad | +| ''@author'' | M.Noermoehammad | 
-  | ''@license'' | MIT |+| ''@license'' | MIT |
  
 ======= Inheritance ======= ======= Inheritance =======
Line 34: Line 34:
 ======= Methods (6) ======= ======= Methods (6) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public | ''sanitasi()'' | (undocumented) | 21 | +| public | ''sanitasi()'' | (undocumented) | 21 | 
-  | public | ''__construct()'' | (undocumented) | 56 | +| public | ''__construct()'' | (undocumented) | 56 | 
-  | public | ''sanitize()'' | Sanitize string (alias for sanitasi). | 70 | +| public | ''sanitize()'' | Sanitize string (alias for sanitasi). | 70 | 
-  | public static | ''mildSanitizer()'' | mildSanitizer | 82 | +| public static | ''mildSanitizer()'' | mildSanitizer | 82 | 
-  | public static | ''severeSanitizer()'' | severeSanitizer | 97 | +| public static | ''severeSanitizer()'' | severeSanitizer | 97 | 
-  | public static | ''strictSanitizer()'' | strictSanitizer | 109 |+| public static | ''strictSanitizer()'' | strictSanitizer | 109 |
  
  
Line 51: Line 51:
 //lines 21–54 (34)// //lines 21–54 (34)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$str'' | ''(untyped)'' | //required// | //none// | +|  ''$str'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$tipe'' | ''(untyped)'' | //required// | //none// |+|  ''$tipe'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 82: Line 82:
 call $sanitizer->sanitize() but this class uses sanitasi() as its primary method. call $sanitizer->sanitize() but this class uses sanitasi() as its primary method.
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$str'' | ''(untyped)'' | //required// | //none// | +|  ''$str'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$tipe'' | ''(untyped)'' | //required// | //none// |+|  ''$tipe'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — string|int **Returns:** ''(none declared)'' — string|int
Line 99: Line 99:
 mildSanitizer mildSanitizer
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$str'' | ''(untyped)'' | //required// | //none// |+|  ''$str'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 115: Line 115:
 severeSanitizer severeSanitizer
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$str'' | ''(untyped)'' | //required// | //none// |+|  ''$str'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 131: Line 131:
 strictSanitizer strictSanitizer
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$str'' | ''(untyped)'' | //required// | //none// |+|  ''$str'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
scriptlog/lib/core/sanitize.1790413762.txt.gz · Last modified: by admin