Moodle  2.2.1
http://www.collinsharper.com
Zend_Validate_Sitemap_Loc Class Reference
Inheritance diagram for Zend_Validate_Sitemap_Loc:
Collaboration diagram for Zend_Validate_Sitemap_Loc:

Public Member Functions

 isValid ($value)

Data Fields

const NOT_VALID = 'sitemapLocNotValid'
const INVALID = 'sitemapLocInvalid'

Protected Attributes

 $_messageTemplates

Detailed Description

Definition at line 44 of file Loc.php.


Member Function Documentation

isValid ( value)

Validates if a string is valid as a sitemap location

http://www.sitemaps.org/protocol.php#locdef

Parameters:
string$valuevalue to validate
Returns:
boolean

Implements Zend_Validate_Interface.

Definition at line 71 of file Loc.php.

Here is the call graph for this function:


Field Documentation

$_messageTemplates [protected]
Initial value:
 array(
        self::NOT_VALID => "'%value%' is no valid sitemap location",
        self::INVALID   => "Invalid type given, the value should be a string",
    )

Reimplemented from Zend_Validate_Abstract.

Definition at line 58 of file Loc.php.

const INVALID = 'sitemapLocInvalid'

Definition at line 51 of file Loc.php.

const NOT_VALID = 'sitemapLocNotValid'

Validation key for not valid

Definition at line 50 of file Loc.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations