image
TEMPLATING
image  What is QuickSkin?
image  How fast is it?
DOCUMENTATION
image  Change Log
image  Properties
image  Methods
image  Control Structures
image  Extensions
image  Speed, Tip & Tricks
LICENSE
image  License Terms
DOWNLOAD QUICKSKIN
image  Download QuickSkin
image

QuickSkin: Properties

Search this site: 

QuickSkin Properties are set directly in the class.quickskin.php class file. These properties have default values. These can be set as needed using a class method. The defaults:

Property Type Default Description
$reuse_code public false Whether to store compiled template code for later reuse or not.
$template_dir public _skins/ Directory where all templates are read from. Note trailing slash is required.
$extensions_dir public qx Directory where all class extensions are read from. Class extensions are optional to use, can be omitted. If class extensions are omitted, there is no need to change this setting. Note trailing slash is required.
$temp_dir public _skins_tmp/ Directory where all compiled templates are stored. Important: Make sure that PHP has write access to this directory! Note trailing slash is required.
$cache_dir public _skins_tmp/ Temporary folder for output cache storage. Important: Make sure that PHP has write access to this directory! Note trailing slash is required.
$cache_lifetime public 600 Default Output Cache Lifetime in Seconds.