|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| isValid ($value) | |
Data Fields | |
| const | NOT_VALID = 'sitemapPriorityNotValid' |
| const | INVALID = 'sitemapPriorityInvalid' |
Protected Attributes | |
| $_messageTemplates | |
Definition at line 39 of file Priority.php.
| isValid | ( | $ | value | ) |
Validates if a string is valid as a sitemap priority
http://www.sitemaps.org/protocol.php#prioritydef
| string | $value | value to validate |
Implements Zend_Validate_Interface.
Definition at line 66 of file Priority.php.

$_messageTemplates [protected] |
array( self::NOT_VALID => "'%value%' is no valid sitemap priority", self::INVALID => "Invalid type given, the value should be a integer, a float or a numeric string", )
Reimplemented from Zend_Validate_Abstract.
Definition at line 53 of file Priority.php.
| const INVALID = 'sitemapPriorityInvalid' |
Definition at line 46 of file Priority.php.
| const NOT_VALID = 'sitemapPriorityNotValid' |
Validation key for not valid
Definition at line 45 of file Priority.php.