Documentation

Horde_Date_Repeater_DayPortion extends Horde_Date_Repeater
in package

Date repeater.

Tags
author

Chuck Hagenbuch chuck@horde.org

category

Horde

copyright

2009-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL

Table of Contents

$afternoon  : mixed
1pm-5pm (13 * 60 * 60, 17 * 60 * 60)
$currentSpan  : mixed
$evening  : mixed
5pm-8pm (17 * 60 * 60, 20 * 60 * 60)
$morning  : mixed
6am-12am (6 * 60 * 60, 12 * 60 * 60)
$night  : mixed
8pm-12pm (20 * 60 * 60, 24 * 60 * 60)
$now  : mixed
$range  : mixed
$type  : mixed
__construct()  : mixed
__toString()  : mixed
next()  : mixed
returns the next occurance of this repeatable.
offset()  : mixed
this()  : mixed
width()  : mixed
returns the width (in seconds or months) of this repeatable.

Properties

$afternoon

1pm-5pm (13 * 60 * 60, 17 * 60 * 60)

public static mixed $afternoon = array(46800, 61200)

$evening

5pm-8pm (17 * 60 * 60, 20 * 60 * 60)

public static mixed $evening = array(61200, 72000)

$morning

6am-12am (6 * 60 * 60, 12 * 60 * 60)

public static mixed $morning = array(21600, 43200)

$night

8pm-12pm (20 * 60 * 60, 24 * 60 * 60)

public static mixed $night = array(72000, 86400)

Methods

__construct()

public __construct(mixed $type) : mixed
Parameters
$type : mixed
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

next()

returns the next occurance of this repeatable.

public next([mixed $pointer = 'future' ]) : mixed
Parameters
$pointer : mixed = 'future'
Return values
mixed

offset()

public offset(mixed $span, mixed $amount, mixed $pointer) : mixed
Parameters
$span : mixed
$amount : mixed
$pointer : mixed
Return values
mixed

this()

public this([mixed $context = 'future' ]) : mixed
Parameters
$context : mixed = 'future'
Return values
mixed

width()

returns the width (in seconds or months) of this repeatable.

public width() : mixed
Return values
mixed

Search results