Amiro.Ru / Manual | |||||||||||||||||||||||||||||||||
Packages:
DB Debug Driver_PaymentSystem Environment Library Module ModuleComponent Package Plugin Plugin_AJAXResponder Plugin_Sample Service Template TxCommand TxService Hyper_AmiCatalog Hyper_AmiClean Hyper_AmiEshopShipping Hyper_AmiExt Hyper_AmiFiles Hyper_AmiMultifeeds Hyper_AmiSearch Hyper_AmiUsers Config_AmiCatalog_Items Config_AmiClean_AmiNewsList Config_AmiClean_AmiSample Config_AmiClean_EshopOrder Config_AmiClean_Sape Config_AmiClean_Trustlink Config_AmiClean_Webservice Config_AmiEshopShipping_Fields Config_AmiEshopShipping_Methods Config_AmiEshopShipping_Types Config_AmiFake_AmiroPayDrvExample Config_AmiFiles_Files Config_AmiMultifeeds_Articles Config_AmiMultifeeds_Blog Config_AmiMultifeeds_FAQ Config_AmiMultifeeds_News Config_AmiMultifeeds_Photoalbum Config_AmiMultifeeds_PhotoGallery Config_AmiMultifeeds_Stickers Config_AmiUsers_Users Module_Catalog Module_Pages Module_Sample Module_SearchHistory
Interfaces:
Classes:
|
Loading search... The AMI_TemplateSystem class• IntroductionSystem template parser class. • Class synopsis
AMI_TemplateSystem
implements AMI_iTemplate
{
/* Methods */
// Constructor.
// Adds block.
// Appends CSS style to HTML HEAD.
public
addHTMLHeaderStyle ( string $url, [ string $inlineContent = '' ], [ bool $isSysContext = FALSE ] ) returns void;
// Appends/replaces HTML HEAD tags.
public
addHTMLHeaderTag ( string $name, string $innerContent, [ string $outerContent = '' ], [ bool $replace = FALSE ] ) returns void;
// Adds JavaScript inclusion.
public
addScript ( string $path, [ bool $useAsync = FALSE ], [ bool $isFullPath = FALSE ] ) returns void;
// Adds JavaScript code to the page.
// Drops block.
// Returns block locale.
// Returns array of available variables in set.
// Returns true if block set is set.
// Merges block to the existing block.
// Parses block set.
// Parses locale and return array having locale names as keys and its values as values.
public
parseLocale ( string $path, [ string $locale = 'auto' ], [ bool $override = FALSE ] ) returns array;
// Parses string.
// Sets block locale from array.
// Sets current template locale.
// Sets source for templates or language files for location. Mask and subdirectories are not supported.
// Sets current set variable.
}
Tags:
• Class Methods// Constructor.
// Adds block.
Implementation of: AMI_iTemplate::addBlock(). // Appends CSS style to HTML HEAD.
public
addHTMLHeaderStyle ( string $url, [ string $inlineContent = '' ], [ bool $isSysContext = FALSE ] ) returns void;
If passed URL has no domain, next parts will be prepended to URL: * "http://domain/_mod_files/_css/" for front side, * "http://domain/_local/_admin/_caa/" for admin side. Example:
Tags:
// Appends/replaces HTML HEAD tags.
public
addHTMLHeaderTag ( string $name, string $innerContent, [ string $outerContent = '' ], [ bool $replace = FALSE ] ) returns void;
Example:
Tags:
// Adds JavaScript inclusion.
public
addScript ( string $path, [ bool $useAsync = FALSE ], [ bool $isFullPath = FALSE ] ) returns void;
Tags:
// Adds JavaScript code to the page.
Tags:
// Returns block locale.
Implementation of: AMI_iTemplate::getBlockLocale(). Tags:
// Returns array of available variables in set.
Tags:
// Returns true if block set is set.
Implementation of: AMI_iTemplate::issetSet(). // Merges block to the existing block.
Implementation of: AMI_iTemplate::mergeBlock(). Tags:
// Parses block set.
Implementation of: AMI_iTemplate::parse(). // Parses locale and return array having locale names as keys and its values as values.
public
parseLocale ( string $path, [ string $locale = 'auto' ], [ bool $override = FALSE ] ) returns array;
Implementation of: AMI_iTemplate::parseLocale(). // Parses string.
Implementation of: AMI_iTemplate::parseString(). // Sets block locale from array.
Implementation of: AMI_iTemplate::setBlockLocale(). // Sets current template locale.
Implementation of: AMI_iTemplate::setLocale(). // Sets source for templates or language files for location. Mask and subdirectories are not supported.
Example:
// Sets current set variable.
Tags:
|