mirror of
https://github.com/smarty-php/smarty.git
synced 2026-07-11 02:40:49 +02:00
- added all major setter/getter methodes
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Smarty method setPluginsDir
|
||||
*
|
||||
* Sets directory of plugin files
|
||||
*
|
||||
* @package Smarty
|
||||
* @subpackage SmartyMethod
|
||||
* @author Uwe Tews
|
||||
*/
|
||||
|
||||
/**
|
||||
* Smarty class setPluginsDir
|
||||
*
|
||||
* Sets directory of plugin files
|
||||
*/
|
||||
|
||||
class Smarty_Method_SetPluginsDir extends Smarty_Internal_Base {
|
||||
/**
|
||||
* Sets directory of plugin files
|
||||
*
|
||||
* @param string $ plugins folder
|
||||
* @return
|
||||
*/
|
||||
public function execute($plugins_dir)
|
||||
{
|
||||
$this->smarty->plugins_dir = (array)$plugins_dir;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user