\Smarty_Autoloader

Smarty Autoloader

Summary

Methods
Properties
Constants
registerBC()
register()
autoload()
$SMARTY_DIR
$SMARTY_SYSPLUGINS_DIR
$rootClasses
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$SMARTY_DIR

$SMARTY_DIR : string

Filepath to Smarty root

Type

string

$SMARTY_SYSPLUGINS_DIR

$SMARTY_SYSPLUGINS_DIR : string

Filepath to Smarty internal plugins

Type

string

$rootClasses

$rootClasses : array

Array with Smarty core classes and their filename

Type

array

Methods

registerBC()

registerBC(boolean  $prepend = false) 

Registers Smarty_Autoloader backward compatible to older installations.

Parameters

boolean $prepend

Whether to prepend the autoloader or not.

register()

register(boolean  $prepend = false) 

Registers Smarty_Autoloader as an SPL autoloader.

Parameters

boolean $prepend

Whether to prepend the autoloader or not.

autoload()

autoload(string  $class) 

Handles auto loading of classes.

Parameters

string $class

A class name.