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

Class: KTemplateHelperBehavior

Source Location: /libraries/koowa/template/helper/behavior.php

Class Overview

KObject
   |
   --KTemplateHelperAbstract
      |
      --KTemplateHelperBehavior

Template Behavior Helper


Author(s):

Variables

Methods


Child classes:

Date Helper
KTemplateHelperTabs
Template Tabs Behavior Helper
KTemplateHelperAccordion
Template Accordion Behavior Helper

Inherited Variables

Inherited Methods

Class: KTemplateHelperAbstract

KTemplateHelperAbstract::__construct()
Constructor
KTemplateHelperAbstract::getTemplate()
Get the template object

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 Behavior Helper



Tags:

author:  Johan Janssens <johan@nooku.org>


[ Top ]


Class Variables

static $_loaded = array()

[line 25]

Array which holds a list of loaded javascript libraries

boolean




Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


method autocomplete [line 282]

string autocomplete( [ $config = array()])

Loads the autocomplete behavior and attaches it to a specified element



Tags:

return:  The html output
see:  http://mootools.net/forge/p/meio_autocomplete
access:  public


Parameters:

   $config  

[ Top ]

method calendar [line 357]

string calendar( [ $config = array()])

Loads the calendar behavior and attaches it to a specified element



Tags:

return:  The html output
access:  public


Parameters:

   $config  

[ Top ]

method keepalive [line 184]

string keepalive( [ $config = array()])

Keep session alive

This will send an ascynchronous request to the server via AJAX on an interval in miliseconds




Tags:

return:  The html output
access:  public


Overridden in child classes as:

ComDefaultTemplateHelperBehavior::keepalive()
Keep session alive

Parameters:

   $config  

[ Top ]

method modal [line 55]

string modal( [ $config = array()])

Render a modal box



Tags:

return:  The html output
access:  public


Overridden in child classes as:

ComDefaultTemplateHelperBehavior::modal()
Render a modal box

Parameters:

   $config  

[ Top ]

method mootools [line 34]

void mootools( [ $config = array()], boolean $debug)

Method to load the mootools framework into the document head

  • If debugging mode is on an uncompressed version of mootools is included for easier debugging.




Tags:

access:  public


Overridden in child classes as:

ComDefaultTemplateHelperBehavior::mootools()
Method to load the mootools framework into the document head

Parameters:

boolean   $debug   Is debugging mode on? [optional]
   $config  

[ Top ]

method overlay [line 131]

string overlay( [ $config = array()])

Render an overlay



Tags:

return:  The html output
access:  public


Parameters:

   $config  

[ Top ]

method tooltip [line 100]

string tooltip( [ $config = array()])

Render a tooltip



Tags:

return:  The html output
access:  public


Parameters:

   $config  

[ Top ]

method validator [line 231]

string validator( [ $config = array()])

Loads the Forms.Validator class and connects it to Koowa.Controller

This allows you to do easy, css class based forms validation- Koowa.Controller.Form works with it automatically. Requires koowa.js and mootools to be loaded in order to work.




Tags:

return:  The html output
see:  http://www.mootools.net/docs/more125/more/Forms/Form.Validator
access:  public


Parameters:

   $config  

[ Top ]

method _calendarTranslation [line 410]

string _calendarTranslation( )

Method to get the internationalisation script/settings for the JavaScript Calendar behavior.



Tags:

return:  The html output
access:  protected


[ Top ]


Documentation generated on Wed, 22 May 2013 03:00:54 +0200 by phpDocumentor 1.4.3