PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions | Protected Attributes
Smarty_Internal_Resource_PHP Class Reference
Inheritance diagram for Smarty_Internal_Resource_PHP:
Smarty_Resource_Uncompiled Smarty_Resource

Public Member Functions

 __construct ()
 Create a new PHP Resource. More...
 
 populate (Smarty_Template_Source $source, Smarty_Internal_Template $_template=null)
 populate Source Object with meta data from Resource More...
 
 populateTimestamp (Smarty_Template_Source $source)
 populate Source Object with timestamp and exists from Resource More...
 
 getContent (Smarty_Template_Source $source)
 Load template's source from file into current template object. More...
 
 renderUncompiled (Smarty_Template_Source $source, Smarty_Internal_Template $_template)
 Render and output the template (without using the compiler) More...
 
- Public Member Functions inherited from Smarty_Resource_Uncompiled
 renderUncompiled (Smarty_Template_Source $source, Smarty_Internal_Template $_template)
 Render and output the template (without using the compiler) More...
 
 populateCompiledFilepath (Smarty_Template_Compiled $compiled, Smarty_Internal_Template $_template)
 populate compiled object with compiled filepath More...
 
- Public Member Functions inherited from Smarty_Resource
 getContent (Smarty_Template_Source $source)
 Load template's source into current template object. More...
 
 populate (Smarty_Template_Source $source, Smarty_Internal_Template $_template=null)
 populate Source Object with meta data from Resource More...
 
 populateTimestamp (Smarty_Template_Source $source)
 populate Source Object with timestamp and exists from Resource More...
 
 populateCompiledFilepath (Smarty_Template_Compiled $compiled, Smarty_Internal_Template $_template)
 populate Compiled Object with compiled filepath More...
 

Protected Attributes

 $short_open_tag
 

Additional Inherited Members

- Static Public Member Functions inherited from Smarty_Resource
static load (Smarty $smarty, $type)
 Load Resource Handler. More...
 
static getUniqueTemplateName ($smarty, $template_resource)
 modify resource_name according to resource handlers specifications More...
 
static source (Smarty_Internal_Template $_template=null, Smarty $smarty=null, $template_resource=null)
 initialize Source Object for given resource More...
 
static config (Smarty_Internal_Config $_config)
 initialize Config Source Object for given resource More...
 
- Data Fields inherited from Smarty_Resource
 $compiler_class = 'Smarty_Internal_SmartyTemplateCompiler'
 
 $template_lexer_class = 'Smarty_Internal_Templatelexer'
 
 $template_parser_class = 'Smarty_Internal_Templateparser'
 
- Static Public Attributes inherited from Smarty_Resource
static $sources = array()
 
static $compileds = array()
 
static $resources = array()
 
- Protected Member Functions inherited from Smarty_Resource
 buildUniqueResourceName (Smarty $smarty, $resource_name)
 modify resource_name according to resource handlers specifications More...
 
 normalizePath ($_path, $ds=true)
 Normalize Paths "foo/../bar" to "bar". More...
 
 buildFilepath (Smarty_Template_Source $source, Smarty_Internal_Template $_template=null)
 build template filepath by traversing the template_dir array More...
 
 fileExists (Smarty_Template_Source $source, $file)
 test is file exists and save timestamp More...
 
 getBasename (Smarty_Template_Source $source)
 Determine basename for compiled filename. More...
 
- Static Protected Member Functions inherited from Smarty_Resource
static parseResourceName ($resource_name, $default_resource, &$name, &$type)
 extract resource_type and resource_name from template_resource and config_resource More...
 
- Static Protected Attributes inherited from Smarty_Resource
static $sysplugins
 

Detailed Description

Definition at line 13 of file smarty_internal_resource_php.php.

Constructor & Destructor Documentation

__construct ( )

Create a new PHP Resource.

Definition at line 24 of file smarty_internal_resource_php.php.

Member Function Documentation

getContent ( Smarty_Template_Source  $source)

Load template's source from file into current template object.

Parameters
Smarty_Template_Source$sourcesource object
Returns
string template source
Exceptions
SmartyExceptionif source cannot be loaded

Definition at line 72 of file smarty_internal_resource_php.php.

populate ( Smarty_Template_Source  $source,
Smarty_Internal_Template  $_template = null 
)

populate Source Object with meta data from Resource

Parameters
Smarty_Template_Source$sourcesource object
Smarty_Internal_Template$_templatetemplate object
Returns
void

Definition at line 36 of file smarty_internal_resource_php.php.

populateTimestamp ( Smarty_Template_Source  $source)

populate Source Object with timestamp and exists from Resource

Parameters
Smarty_Template_Source$sourcesource object
Returns
void

Definition at line 59 of file smarty_internal_resource_php.php.

renderUncompiled ( Smarty_Template_Source  $source,
Smarty_Internal_Template  $_template 
)

Render and output the template (without using the compiler)

Parameters
Smarty_Template_Source$sourcesource object
Smarty_Internal_Template$_templatetemplate object
Returns
void
Exceptions
SmartyExceptionif template cannot be loaded or allow_php_templates is disabled

Definition at line 88 of file smarty_internal_resource_php.php.

Field Documentation

$short_open_tag
protected

Definition at line 18 of file smarty_internal_resource_php.php.


The documentation for this class was generated from the following file:

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:44 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.