standalonetemplate
        
        extends basetemplate
    
    
            
            in package
            
        
    
    
    
        
            Standalone Template Class
A standalone template is a global view template (tpl) file found in either THEME_ABSOLUTE/views or /framework/core/views.
Tags
Table of Contents
- $module : mixed
- $tpl : mixed
- $view : mixed
- $viewdir : mixed
- $viewfile : mixed
- __construct() : mixed
- __get() : null
- Generic magic method
- __isset() : bool
- Generic magic method
- __set() : mixed
- Generic magic method We MUST create/set non-existing properties for Exponent code to work
- __unset() : mixed
- Generic magic method
- assign() : mixed
- Assign a variable to the template.
- output() : mixed
- Render the template and echo it to the screen.
- register_permissions() : mixed
- render() : bool|mixed|string
- Render the template and return the result to the caller.
Properties
$module
    public
        mixed
    $module
     = ""
        
        
    
$tpl
    public
        mixed
    $tpl
    
        
        
    
$view
    public
        mixed
    $view
     = ""
        
        
    
$viewdir
    public
        mixed
    $viewdir
     = ""
        
        
    
$viewfile
    public
        mixed
    $viewfile
     = ""
        
        
    
Methods
__construct()
    public
                    __construct(mixed $view) : mixed
        
        Parameters
- $view : mixed
Return values
mixed —__get()
Generic magic method
    public
                    __get( $property) : null
    
        Parameters
Return values
null —__isset()
Generic magic method
    public
                    __isset( $property) : bool
    
        Parameters
Return values
bool —__set()
Generic magic method We MUST create/set non-existing properties for Exponent code to work
    public
                    __set( $property,  $value) : mixed
    
        Parameters
Return values
mixed —__unset()
Generic magic method
    public
                    __unset( $property) : mixed
    
        Parameters
Return values
mixed —assign()
Assign a variable to the template.
    public
                    assign(string|array<string|int, mixed> $var[, mixed $val = null ]) : mixed
    
        Parameters
- $var : string|array<string|int, mixed>
- 
                    The name of the variable - how it will be referenced inside the Smarty code 
- $val : mixed = null
- 
                    The value of the variable. 
Return values
mixed —output()
Render the template and echo it to the screen.
    public
                    output() : mixed
    
    
    
        Return values
mixed —register_permissions()
    public
                    register_permissions(mixed $perms, mixed $locs) : mixed
        
        Parameters
- $perms : mixed
- $locs : mixed
Return values
mixed —render()
Render the template and return the result to the caller.
    public
                    render() : bool|mixed|string