Zend/Validate/Sitemap/Changefreq.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
-
New BSD License
- Package
- Zend_Validate
- Subpackage
- Sitemap
- Version
- $Id: Changefreq.php 24594 2012-01-05 21:27:01Z matthew $
\Zend_Validate_Sitemap_Changefreq
Package: Zend\Validate\SitemapValidates whether a given value is valid as a sitemap <changefreq> value
- Parent(s)
- \Zend_Validate_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
-
New BSD License
- Link
-
Sitemaps XML format
Constants


NOT_VALID
= 'sitemapChangefreqNotValid'
Validation key for not valid


INVALID
= 'sitemapChangefreqInvalid'
Properties



array
$_messageTemplates= 'array(
self::NOT_VALID => "'%value%' is no valid sitemap changefreq"'
Validation failure message template definitions
Default valuearray(
self::NOT_VALID => "'%value%' is no valid sitemap changefreq"
Details
- Type
- array
Methods



isValid(
string $value
)
:
boolean
Validates if a string is valid as a sitemap changefreq
Parameters
Name |
Type |
Description |
$value |
string |
value to validate |
Returns
Details
- Link
-