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

Class: KTemplateHelperDate

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

Class Overview

KObject
   |
   --KTemplateHelperAbstract
      |
      --KTemplateHelperDate

Template Helper Class


Author(s):

Methods


Child classes:

Date 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 Helper Class



Tags:

author:  Johan Janssens <johan@nooku.org>


[ Top ]


Class Methods


method format [line 27]

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

Returns formatted date according to current local and adds time offset.



Tags:

return:  Formatted date.
see:  strftime
access:  public


Overridden in child classes as:

ComDefaultTemplateHelperDate::format()
Returns formated date according to current local and adds time offset

Parameters:

array   $config   An optional array with configuration options.

[ Top ]

method humanize [line 49]

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

Returns human readable date.



Tags:

return:  Formatted date.
access:  public


Overridden in child classes as:

ComDefaultTemplateHelperDate::humanize()
Returns human readable date.

Parameters:

array   $config   An optional array with configuration options.

[ Top ]


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