Public Member Functions | |
isValid ($value) | |
Data Fields | |
const | NOT_VALID = 'invalidSitemapChangefreq' |
Protected Attributes | |
$_messageTemplates | |
$_changeFreqs |
Definition at line 39 of file Changefreq.php.
isValid | ( | $ | value ) |
Validates if a string is valid as a sitemap changefreq
http://www.sitemaps.org/protocol.php#changefreqdef
string | $value | value to validate |
Implements Zend_Validate_Interface.
Definition at line 74 of file Changefreq.php.
$_changeFreqs [protected] |
array( 'always', 'hourly', 'daily', 'weekly', 'monthly', 'yearly', 'never' )
Definition at line 61 of file Changefreq.php.
$_messageTemplates [protected] |
array(
self::NOT_VALID => "'%value%' is not a valid sitemap changefreq",
)
Reimplemented from Zend_Validate_Abstract.
Definition at line 52 of file Changefreq.php.
const NOT_VALID = 'invalidSitemapChangefreq' |
Validation key for not valid
Definition at line 45 of file Changefreq.php.