Class DateVariable

Description

A symbol that represents Date values.

A symbol that represents Date values. DateVariable encapulates strtotime, which parses any English textual datetime description into a Unix timestamp.

Located in /Datevariable.php (line 13)

RuleElement
   |
   --Variable
      |
      --DateVariable
Method Summary
DateVariable __construct (string $name, string $value)
DateVariable DateVariable (string $name, string $value)
string getType ()
string toString ()
Variables

Inherited Variables

Inherited from Variable

Variable::$value

Inherited from RuleElement

RuleElement::$name
Methods
Constructor __construct (line 30)

Constructor initializes $name, and the $value.

Constructor initializes $name, and the $value.

  • access: public
DateVariable __construct (string $name, string $value)

Redefinition of:
Variable::__construct()
Constructor initializes $name, and the $value.
Constructor DateVariable (line 20)

Constructor initializes $name, and the $value.

Constructor initializes $name, and the $value.

  • access: public
DateVariable DateVariable (string $name, string $value)
getType (line 39)

Returns DateVariable.

Returns DateVariable.

  • access: public
string getType ()

Redefinition of:
Variable::getType()
Returns "Variable.
toString (line 47)

Returns a human-readable statement and value.

Returns a human-readable statement and value.

  • access: public
string toString ()

Redefinition of:
Variable::toString()
Returns a human-readable statement and value.

Inherited Methods

Inherited From Variable

Variable::__construct()
Variable::Variable()
Variable::equalTo()
Variable::getType()
Variable::greaterThan()
Variable::greaterThanOrEqualTo()
Variable::lessThan()
Variable::lessThanOrEqualTo()
Variable::notEqualTo()
Variable::toString()

Inherited From RuleElement

RuleElement::RuleElement()
RuleElement::__construct()
RuleElement::getType()
RuleElement::toString()

Documentation generated on Thu, 24 Mar 2011 21:27:38 -0500 by phpDocumentor 1.4.1