Validate/Sitemap/Priority.php

Show: PublicProtectedPrivateinherited
Table of Contents
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_Priority

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

>VConstant  NOT_VALID = 'sitemapPriorityNotValid'
Validation key for not valid
>VConstant  INVALID = 'sitemapPriorityInvalid'

Properties

>VPropertyprotectedarray $_messageTemplates = array(self::NOT_VALID => "'%value%' is not a valid sitemap priority", self::INVALID => "Invalid type given. Numeric string, integer or float expected")
Validation failure message template definitions
Default valuearray(self::NOT_VALID => "'%value%' is not a valid sitemap priority", self::INVALID => "Invalid type given. Numeric string, integer or float expected")Details
Type
array

Methods

methodpublicisValid(string $value) : boolean

Validates if a string is valid as a sitemap priority

Parameters
NameTypeDescription
$valuestring

value to validate

Returns
TypeDescription
boolean
Details
Link
 
Documentation was generated by phpDocumentor 2.2.0 .