Class Smarty_Internal_Resource_File

Description

Smarty Internal Plugin Resource File

Implements the file system as resource for Smarty templates

Located in /libs/sysplugins/smarty_internal_resource_file.php (line 19)

Smarty_Resource
   |
   --Smarty_Internal_Resource_File
Method Summary
Variables
Methods
getBasename (line 79)

Determine basename for compiled filename

  • return: resource's basename
  • access: public
string getBasename (Smarty_Template_Source $source)

Redefinition of:
Smarty_Resource::getBasename()
Determine basename for compiled filename
getContent (line 62)

Load template's source from file into current template object

  • return: template source
  • throws: SmartyException if source cannot be loaded
  • access: public
string getContent (Smarty_Template_Source $source)

Redefinition of:
Smarty_Resource::getContent()
Load template's source into current template object
populate (line 27)

populate Source Object with meta data from Resource

  • access: public
void populate (Smarty_Template_Source $source, [Smarty_Internal_Template $_template = null])

Redefinition of:
Smarty_Resource::populate()
populate Source Object with meta data from Resource
populateTimestamp (line 49)

populate Source Object with timestamp and exists from Resource

  • access: public
void populateTimestamp (Smarty_Template_Source $source)

Redefinition of:
Smarty_Resource::populateTimestamp()
populate Source Object with timestamp and exists from Resource

Inherited Methods

Inherited From Smarty_Resource

Smarty_Resource::buildFilepath()
Smarty_Resource::config()
Smarty_Resource::fileExists()
Smarty_Resource::getBasename()
Smarty_Resource::getContent()
Smarty_Resource::load()
Smarty_Resource::populate()
Smarty_Resource::populateCompiledFilepath()
Smarty_Resource::populateTimestamp()
Smarty_Resource::source()

Documentation generated on Sat, 24 Sep 2011 20:23:56 +0200 by phpDocumentor 1.4.1