[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/Smarty/libs/sysplugins/ -> smarty_internal_config.php (summary)

Smarty Internal Plugin Config

Author: Uwe Tews
File Size: 303 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Smarty_Internal_Config:: (10 methods):
  __construct()
  getCompiledFilepath()
  buildCompiledFilepath()
  getCompiledTimestamp()
  mustCompile()
  getCompiledConfig()
  compileConfigSource()
  loadConfigVars()
  __set()
  __get()


Class: Smarty_Internal_Config  - X-Ref

Smarty Internal Plugin Config

Main class for config variables

__construct($config_resource, $smarty, $data = null)   X-Ref
Constructor of config file object

param: string $config_resource config file resource name
param: Smarty $smarty Smarty instance
param: object $data object for config vars storage

getCompiledFilepath()   X-Ref
Returns the compiled  filepath

return: string the compiled filepath

buildCompiledFilepath()   X-Ref
Get file path.

return: string

getCompiledTimestamp()   X-Ref
Returns the timpestamp of the compiled file

return: integer the file timestamp

mustCompile()   X-Ref
Returns if the current config file must be compiled

It does compare the timestamps of config source and the compiled config and checks the force compile configuration

return: boolean true if the file must be compiled

getCompiledConfig()   X-Ref
Returns the compiled config file

It checks if the config file must be compiled or just read the compiled version

return: string the compiled config file

compileConfigSource()   X-Ref
Compiles the config files


loadConfigVars($sections = null, $scope = 'local')   X-Ref
load config variables

param: mixed $sections array of section names, single section or null
param: object $scope global,parent or local

__set($property_name, $value)   X-Ref
set Smarty property in template context

param: string $property_name property name
param: mixed  $value         value

__get($property_name)   X-Ref
get Smarty property in template context

param: string $property_name property name



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1