PEAR_Validate::validateDate() – validateDate


require_once '/Validate.php';

void PEAR_Validate::validateDate ( )


Override this in a channel-specific validator to validate the contents of the <date> tag.

Errors should be reported using _addFailure() method, and non-fatal errors (warnings) should be reported using the _addWarning() method.


throws no exceptions thrown


This function can not be called statically.

validateChangelog (Previous) for package.xml 2.0 only - channels can't use package.xml 1.0 (Next)
Last updated: Sun, 15 Jan 2017 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.