\Smarty_Internal_Method_LoadPlugin

Smarty Extension Loadplugin

$smarty->loadPlugin() method

Summary

Methods
Properties
Constants
loadPlugin()
$plugin_files
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$plugin_files

$plugin_files : array

Cache of searched plugin files

Type

array

Methods

loadPlugin()

loadPlugin(\Smarty  $smarty, string  $plugin_name, boolean  $check) : boolean|string

Takes unknown classes and loads plugin files for them class name format: Smarty_PluginType_PluginName plugin filename format: plugintype.pluginname.php

Parameters

\Smarty $smarty
string $plugin_name

class plugin name to load

boolean $check

check if already loaded

Throws

\SmartyException

Returns

boolean|string