mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 13:21:36 +01:00
- added all major setter/getter methodes
This commit is contained in:
31
libs/sysplugins/method.getcachedir.php
Normal file
31
libs/sysplugins/method.getcachedir.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Smarty method getCacheDir
|
||||
*
|
||||
* Returns directory of cache files
|
||||
*
|
||||
* @package Smarty
|
||||
* @subpackage SmartyMethod
|
||||
* @author Uwe Tews
|
||||
*/
|
||||
|
||||
/**
|
||||
* Smarty class getCacheDir
|
||||
*
|
||||
* Returns directory of cache files
|
||||
*/
|
||||
|
||||
class Smarty_Method_GetCacheDir extends Smarty_Internal_Base {
|
||||
/**
|
||||
* Returns directory of cache files
|
||||
*
|
||||
* @return array cache folder
|
||||
*/
|
||||
public function execute()
|
||||
{
|
||||
return $this->smarty->cache_dir;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user