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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Validate
- Subpackage
- Sitemap
- Version
- $Id$
\Zend_Validate_Sitemap_Changefreq
Package: Zend_Validate\Sitemap
Validates whether a given value is valid as a sitemap value
- Parent(s)
- \Zend_Validate_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Link
- Sitemaps XML format
Constants
Properties
array $_changeFreqs = array('always', 'hourly', 'daily', 'weekly', 'monthly', 'yearly', 'never')
Valid change frequencies
Default value
array('always', 'hourly', 'daily', 'weekly', 'monthly', 'yearly', 'never')
Details- Type
- array
array $_messageTemplates = array(self::NOT_VALID => "'%value%' is not a valid sitemap changefreq", self::INVALID => "Invalid type given. String expected")
Validation failure message template definitions
Default value
array(self::NOT_VALID => "'%value%' is not a valid sitemap changefreq", self::INVALID => "Invalid type given. String expected")
Details- Type
- array