Koowa_Template
[ class tree: Koowa_Template ] [ index: Koowa_Template ] [ all elements ]

Class: KTemplateFilterTemplate

Source Location: /libraries/koowa/template/filter/template.php

Class Overview

KObject
   |
   --KTemplateFilterAbstract
      |
      --KTemplateFilterTemplate

Template read filter for the @template alias. To load templates inline


Author(s):

Implements interfaces:

Methods


Inherited Variables

Inherited Methods

Class: KTemplateFilterAbstract

KTemplateFilterAbstract::__construct()
Constructor.
KTemplateFilterAbstract::execute()
Command handler
KTemplateFilterAbstract::getPriority()
Get the priority of a behavior
KTemplateFilterAbstract::getTemplate()
Get the template object
KTemplateFilterAbstract::_initialize()
Initializes the options for the object
KTemplateFilterAbstract::_parseAttributes()
Method to extract key/value pairs out of a string with xml style attributes

Class: KObject

KObject::__construct()
Constructor
KObject::get()
Get the object properties
KObject::getHandle()
Get a handle for this object
KObject::getIdentifier()
Gets the service identifier.
KObject::getMethods()
Get a list of all the available methods
KObject::getService()
Get an instance of a class based on a class identifier only creating it if it does not exist yet.
KObject::inherits()
Checks if the object or one of it's mixin's inherits from a class.
KObject::mixin()
Mixin an object
KObject::set()
Set the object properties
KObject::_initialize()
Initializes the options for the object
KObject::__call()
Search the mixin method map and call the method or trigger an error
KObject::__clone()
Preform a deep clone of the object.

Class Details

[line 18]
Template read filter for the @template alias. To load templates inline



Tags:

author:  Johan Janssens <johan@nooku.org>


[ Top ]


Class Methods


method read [line 46]

KTemplateFilterAlias read( string &$text)

Replace template alias with loadFile functions.

This function only replaces relative identifiers to a full path based on the path of the template.




Tags:

access:  public



Implementation of:
KTemplateFilterRead::read()
Parse the text and filter it

Parameters:

string   &$text  

[ Top ]

method _initialize [line 28]

void _initialize( $config)

Initializes the options for the object

Called from __construct() as a first step of object instantiation.




Tags:

access:  protected


Overrides KTemplateFilterAbstract::_initialize() (Initializes the options for the object)

Parameters:

object An   $config   optional KConfig object with configuration options

[ Top ]


Documentation generated on Wed, 22 May 2013 03:02:47 +0200 by phpDocumentor 1.4.3