Documentation

Horde_Date_Parser_Locale_Pt_Scalar extends Horde_Date_Parser_Locale_Base_Scalar
in package

Tags
author

Chuck Hagenbuch chuck@horde.org

author

Jan Schneider jan@horde.org

category

Horde

copyright

2008-2017 Horde LLC

license

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

Table of Contents

$dayRegex  : mixed
$monthRegex  : mixed
$scalarRegex  : mixed
$timeSignifiers  : mixed
$yearRegex  : mixed
scan()  : mixed
scanForDays()  : mixed
scanForMonths()  : mixed
scanForScalars()  : mixed
scanForYears()  : mixed

Properties

$dayRegex

public mixed $dayRegex = '/^\\d\\d?$/'

$monthRegex

public mixed $monthRegex = '/^\\d\\d?$/'

$scalarRegex

public mixed $scalarRegex = '/^\\d*$/'

$timeSignifiers

public mixed $timeSignifiers = array('am', 'pm', 'morning', 'afternoon', 'evening', 'night')

$yearRegex

public mixed $yearRegex = '/^([1-9]\\d)?\\d\\d?$/'

Methods

scan()

public scan(mixed $tokens) : mixed
Parameters
$tokens : mixed
Return values
mixed

scanForDays()

public scanForDays(mixed $token, mixed $postToken) : mixed
Parameters
$token : mixed
$postToken : mixed
Return values
mixed

scanForMonths()

public scanForMonths(mixed $token, mixed $postToken) : mixed
Parameters
$token : mixed
$postToken : mixed
Return values
mixed

scanForScalars()

public scanForScalars(mixed $token, mixed $postToken) : mixed
Parameters
$token : mixed
$postToken : mixed
Return values
mixed

scanForYears()

public scanForYears(mixed $token, mixed $postToken) : mixed
Parameters
$token : mixed
$postToken : mixed
Return values
mixed

Search results