Documentation

Horde_View_Helper_Date extends Horde_View_Helper_Base
in package

Abstract class for Horde_View_Helper objects.

Tags
author

Mike Naberezny mike@maintainable.com

author

Derek DeVries derek@maintainable.com

author

Chuck Hagenbuch chuck@horde.org

license

http://www.horde.org/licenses/bsd

category

Horde

subpackage

Helper

Table of Contents

$_view  : Horde_View
The parent view invoking the helper.
$_instanceTag  : mixed
__call()  : mixed
Call chaining so members of the view can be called (including other helpers).
__construct()  : mixed
Creates a helper for $view.
__get()  : mixed
Proxy on undefined property access (get).
__set()  : mixed
Proxy on undefined property access (set).
dateSelect()  : mixed
distanceOfTimeInWords()  : mixed
timeAgoInWords()  : mixed
Like distanceOfTimeInWords(), but where $toTime is fixed to now.

Properties

$_instanceTag

private mixed $_instanceTag = 'Horde_View_Helper_Form_InstanceTag_Date'

Methods

__call()

Call chaining so members of the view can be called (including other helpers).

public __call(string $method, array<string|int, mixed> $args) : mixed
Parameters
$method : string

The method.

$args : array<string|int, mixed>

The parameters for the method.

Return values
mixed

The result of the method.

__construct()

Creates a helper for $view.

public __construct(Horde_View $view) : mixed
Parameters
$view : Horde_View

The view to help.

Return values
mixed

__get()

Proxy on undefined property access (get).

public __get(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

__set()

Proxy on undefined property access (set).

public __set(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed
Return values
mixed

dateSelect()

public dateSelect(mixed $objectName, mixed $method[, mixed $options = array() ]) : mixed
Parameters
$objectName : mixed
$method : mixed
$options : mixed = array()
Return values
mixed

distanceOfTimeInWords()

public distanceOfTimeInWords(mixed $fromTime, mixed $toTime[, mixed $includeSeconds = false ]) : mixed
Parameters
$fromTime : mixed
$toTime : mixed
$includeSeconds : mixed = false
Tags
todo

possibly convert from time object

Return values
mixed

timeAgoInWords()

Like distanceOfTimeInWords(), but where $toTime is fixed to now.

public timeAgoInWords(mixed $fromTime[, mixed $includeSeconds = false ]) : mixed
Parameters
$fromTime : mixed
$includeSeconds : mixed = false
Return values
mixed

Search results