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

Class: DateValidator

Source Location: /validator/DateValidator.class.php

Class Overview

ParameterHolder
   |
   --Validator
      |
      --DateValidator

DateValidator verifies a parameter is of a date format.


Author(s):

  • Sean Kerr (skerr@mojavi.org)

Version:

  • $Id: DateValidator.class.php 384 2004-11-14 09:34:04Z seank $

Copyright:

Methods


Inherited Variables

Inherited Methods

Class: Validator

Validator::execute()
Execute this validator.
Validator::getContext()
Retrieve the current application context.
Validator::initialize()
Initialize this validator.

Class: ParameterHolder

ParameterHolder::clearParameters()
Clear all parameters associated with this request.
ParameterHolder::getParameter()
Retrieve a parameter.
ParameterHolder::getParameterNames()
Retrieve an array of parameter names.
ParameterHolder::getParameters()
Retrieve an array of parameters.
ParameterHolder::hasParameter()
Indicates whether or not a parameter exists.
ParameterHolder::removeParameter()
Remove a parameter.
ParameterHolder::setParameter()
Set a parameter.
ParameterHolder::setParameterByRef()
Set a parameter by reference.
ParameterHolder::setParameters()
Set an array of parameters.
ParameterHolder::setParametersByRef()
Set an array of parameters by reference.

Class Details

[line 23]
DateValidator verifies a parameter is of a date format.



Tags:

version:  $Id: DateValidator.class.php 384 2004-11-14 09:34:04Z seank $
since:  3.0.0
copyright:  (c) Sean Kerr, http://www.mojavi.org
author:  Sean Kerr (skerr@mojavi.org)


[ Top ]


Class Methods


method execute [line 42]

bool execute( mixed &$value, error &$error)

Execute this validator.



Tags:

return:  true, if this validator executes successfully, otherwise false.
access:  public
since:  3.0.0
author:  Sean Kerr (skerr@mojavi.org)


Overrides Validator::execute() (Execute this validator.)

Parameters:

mixed   &$value   A file or parameter value/array.
error   &$error   An error message reference.

[ Top ]


Documentation generated on Tue, 21 Feb 2006 01:45:15 +0900 by phpDocumentor 1.3.0RC5