Kajona\System\System\Template

This class does all the template stuff as loading, parsing, etc..

An instance should be resolved by the service container

Synopsis

class Template {
  • // constants
  • const INT_ELEMENT_MODE_MASTER = 1;
  • const INT_ELEMENT_MODE_REGULAR = 0;
}

Constants

Name Value
INT_ELEMENT_MODE_MASTER 1
INT_ELEMENT_MODE_REGULAR 0

Members

private

  • $arrTemplateCache
  • $arrTemplateIdMap
    @var array for backwards compatibility
  • $objBlocksParser
    @var TemplateBlocksParser
  • $objFileParser
    @var TemplateFileParser
  • $objPlaceholderParser
    @var TemplatePlaceholderParser
  • $objSectionParser
    @var TemplateSectionParser
  • $objTemplate
  • $strTempTemplate

Methods

public