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

Class: ComDefaultTemplateDefault

Source Location: /administrator/components/com_default/templates/default.php

Class Overview

KObject
   |
   --KTemplateAbstract
      |
      --ComDefaultTemplateAbstract
         |
         --ComDefaultTemplateDefault

Default Template


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: ComDefaultTemplateAbstract

ComDefaultTemplateAbstract::__construct()
Constructor
ComDefaultTemplateAbstract::findFile()
Searches for the file
ComDefaultTemplateAbstract::loadFile()
Load a template by path -- first look in the templates folder for an override
ComDefaultTemplateAbstract::parse()
Parse the template

Class: KTemplateAbstract

KTemplateAbstract::__construct()
Constructor
KTemplateAbstract::addFilter()
Adds one or more filters for template transformation
KTemplateAbstract::findFile()
Searches for the file
KTemplateAbstract::getData()
Get the template data
KTemplateAbstract::getFilter()
Get a filter by identifier
KTemplateAbstract::getHelper()
Get a template helper
KTemplateAbstract::getPath()
Get the template path
KTemplateAbstract::getStack()
Get the template object stack
KTemplateAbstract::getView()
Get the view object attached to the template
KTemplateAbstract::handleError()
Handle template errors
KTemplateAbstract::hasFilter()
Check if a filter exists
KTemplateAbstract::loadFile()
Load a template by path
KTemplateAbstract::loadIdentifier()
Load a template by identifier
KTemplateAbstract::loadString()
Load a template from a string
KTemplateAbstract::parse()
Parse the template
KTemplateAbstract::render()
Render the template
KTemplateAbstract::renderHelper()
Load a template helper
KTemplateAbstract::setView()
Method to set a view object attached to the controller
KTemplateAbstract::_initialize()
Initializes the options for the object
KTemplateAbstract::__destroy()
Destructor
KTemplateAbstract::__sandbox()
Process the template using a simple sandbox
KTemplateAbstract::__toString()
Renders the template and returns the result

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 19]
Default Template



Tags:

author:  Johan Janssens <johan@nooku.org>


[ Top ]


Class Methods


method renderHelper [line 33]

string renderHelper( string $identifier, [mixed $params = array()])

Load a template helper

This function merges the elements of the attached view model state with the parameters passed to the helper so that the values of one are appended to the end of the previous one.

If the view state have the same string keys, then the parameter value for that key will overwrite the state.




Tags:

return:  Helper output
access:  public


Overrides KTemplateAbstract::renderHelper() (Load a template helper)

Parameters:

string   $identifier   Name of the helper, dot separated including the helper function to call
mixed   $params   Parameters to be passed to the helper

[ Top ]


Documentation generated on Sun, 19 May 2013 03:02:33 +0200 by phpDocumentor 1.4.3