Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:themerendererinterface

Differences

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

Link to this comparison view

scriptlog:lib:core:themerendererinterface [2026/09/26 09:09] – admin adminscriptlog:lib:core:themerendererinterface [2026/09/26 09:16] (current) – admin admin
Line 31: Line 31:
 ======= Methods (6) ======= ======= Methods (6) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public | ''render()'' | Render a full page: header, content template, and footer. | 28 | +| public | ''render()'' | Render a full page: header, content template, and footer. | 28 | 
-  | public | ''renderHeader()'' | Include the current theme's header template. | 36 | +| public | ''renderHeader()'' | Include the current theme's header template. | 36 | 
-  | public | ''renderContent()'' | Include a content template from the current theme directory. | 46 | +| public | ''renderContent()'' | Include a content template from the current theme directory. | 46 | 
-  | public | ''renderFooter()'' | Include the current theme's footer template. | 51 | +| public | ''renderFooter()'' | Include the current theme's footer template. | 51 | 
-  | public | ''render404()'' | Render a 404 response. | 60 | +| public | ''render404()'' | Render a 404 response. | 60 | 
-  | public | ''getThemeDir()'' | Return the resolved absolute path to the active theme directory. | 70 |+| public | ''getThemeDir()'' | Return the resolved absolute path to the active theme directory. | 70 |
  
  
Line 52: Line 52:
 Sets the HTTP response code before any output is sent. Sets the HTTP response code before any output is sent.
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$template'' | ''string'' | //required// | Content template name (without .php extension). | +|  ''$template'' |  ''string'' |  //required// |  Content template name (without .php extension). | 
-  | ''$statusCode'' | ''int'' | ''200'' | HTTP status code (default 200). |+|  ''$statusCode'' |  ''int'' |  ''200'' |  HTTP status code (default 200). |
  
 **Returns:** ''void'' **Returns:** ''void''
Line 90: Line 90:
 to prevent directory traversal attacks. to prevent directory traversal attacks.
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$template'' | ''string'' | //required// | Content template name (without .php extension). |+|  ''$template'' |  ''string'' |  //required// |  Content template name (without .php extension). |
  
 **Returns:** ''void'' **Returns:** ''void''
scriptlog/lib/core/themerendererinterface.1790413762.txt.gz · Last modified: by admin