Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:tests:generaterequesttest

Differences

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

Link to this comparison view

scriptlog:tests:generaterequesttest [2026/09/26 09:09] – admin adminscriptlog:tests:generaterequesttest [2026/09/26 09:17] (current) – admin admin
Line 13: Line 13:
 ======= Imports ======= ======= Imports =======
  
-  ^ Alias ^ Fully-qualified name ^ +^ Alias ^ Fully-qualified name ^ 
-  | ''TestCase'' | ''PHPUnit\Framework\TestCase'' |+| ''TestCase'' | ''PHPUnit\Framework\TestCase'' |
  
 ======= Includes ======= ======= Includes =======
  
-  ^ Mode ^ Target ^ Line ^ +^ Mode ^ Target ^ Line ^ 
-  | ''require'' | ''require_once __DIR__ . '/../../lib/utility/sanitize-urls.php';'' | 42 | +| ''require'' | ''require_once __DIR__ . '/../../lib/utility/sanitize-urls.php';'' | 42 | 
-  | ''require'' | ''require_once __DIR__ . '/../../lib/utility/generate-request.php';'' | 43 |+| ''require'' | ''require_once __DIR__ . '/../../lib/utility/generate-request.php';'' | 43 |
  
 ======= Functions (3) ======= ======= Functions (3) =======
  
-  ^ Function ^ Line ^ Params ^ Returns ^ Summary ^ +^ Function ^ Line ^ Params ^ Returns ^ Summary ^ 
-  | ''check_request_generated'' | 20 | 0 |  |  | +| ''check_request_generated'' | 20 | 0 |  |  | 
-  | ''escape_html'' | 28 | 4 |  |  | +| ''escape_html'' | 28 | 4 |  |  | 
-  | ''build_query'' | 36 | 2 |  |  |+| ''build_query'' | 36 | 2 |  |  |
  
  
Line 47: Line 47:
 </code> </code>
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$input'' | ''(untyped)'' | //required// |  | +|  ''$input'' |  ''(untyped)'' |  //required// |   | 
-  | ''$type'' | ''(untyped)'' | '''html''' |  | +|  ''$type'' |  ''(untyped)'' |  '''html''' |   | 
-  | ''$encoding'' | ''(untyped)'' | '''utf-8''' |  | +|  ''$encoding'' |  ''(untyped)'' |  '''utf-8''' |   | 
-  | ''$mode'' | ''(untyped)'' | '''base''' |  |+|  ''$mode'' |  ''(untyped)'' |  '''base''' |   |
  
  
Line 62: Line 62:
 </code> </code>
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$base'' | ''(untyped)'' | //required// |  | +|  ''$base'' |  ''(untyped)'' |  //required// |   | 
-  | ''$query_data'' | ''(untyped)'' | //required// |  |+|  ''$query_data'' |  ''(untyped)'' |  //required// |   |
  
 ======= Types declared here ======= ======= Types declared here =======
scriptlog/tests/generaterequesttest.1790413765.txt.gz · Last modified: by admin