View
    
            
            in package
            
        
    
    
    
View
Displays the templates
Table of Contents
Properties
- $_variables : array<string|int, mixed>
- variables available in the template
Methods
- assign() : mixed
- assign variables to be used inside of the template
- draw() : mixed
- render a template
- getTemplateFilePath() : string
- Get template file path
- isBootstrapTemplate() : bool
- Is the template a variation of the bootstrap template
- _scriptTag() : mixed
- echo script tag incl. SRI hash for given script file
Properties
$_variables
variables available in the template
    private
        array<string|int, mixed>
    $_variables
     = array()
    
    
    
    Tags
Methods
assign()
assign variables to be used inside of the template
    public
                    assign(string $name, mixed $value) : mixed
    Parameters
- $name : string
- $value : mixed
Tags
draw()
render a template
    public
                    draw(string $template) : mixed
    Parameters
- $template : string
Tags
getTemplateFilePath()
Get template file path
    public
            static        getTemplateFilePath(string $template) : string
    Parameters
- $template : string
Tags
Return values
stringisBootstrapTemplate()
Is the template a variation of the bootstrap template
    public
            static        isBootstrapTemplate(string $template) : bool
    Parameters
- $template : string
Tags
Return values
bool_scriptTag()
echo script tag incl. SRI hash for given script file
    private
                    _scriptTag(string $file[, string $attributes = '' ]) : mixed
    Parameters
- $file : string
- $attributes : string = ''
- 
                    additional attributes to add into the script tag