Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
isValid ($value) | |
![]() | |
getMessages () | |
getMessageVariables () | |
getMessageTemplates () | |
setMessage ($messageString, $messageKey=null) | |
setMessages (array $messages) | |
__get ($property) | |
getErrors () | |
setObscureValue ($flag) | |
getObscureValue () | |
setTranslator ($translator=null) | |
getTranslator () | |
hasTranslator () | |
setDisableTranslator ($flag) | |
translatorIsDisabled () | |
Data Fields | |
const | NOT_VALID = 'sitemapChangefreqNotValid' |
const | INVALID = 'sitemapChangefreqInvalid' |
Protected Attributes | |
$_messageTemplates | |
$_changeFreqs | |
![]() | |
$_value | |
$_messageVariables = array() | |
$_messageTemplates = array() | |
$_messages = array() | |
$_obscureValue = false | |
$_errors = array() | |
$_translator | |
$_translatorDisabled = false | |
Additional Inherited Members | |
![]() | |
static | setDefaultTranslator ($translator=null) |
static | getDefaultTranslator () |
static | hasDefaultTranslator () |
static | getMessageLength () |
static | setMessageLength ($length=-1) |
![]() | |
_createMessage ($messageKey, $value) | |
_implodeRecursive (array $pieces) | |
_error ($messageKey, $value=null) | |
_setValue ($value) | |
![]() | |
static | $_defaultTranslator |
static | $_messageLength = -1 |
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 76 of file Changefreq.php.
|
protected |
Definition at line 63 of file Changefreq.php.
|
protected |
Definition at line 53 of file Changefreq.php.
const INVALID = 'sitemapChangefreqInvalid' |
Definition at line 46 of file Changefreq.php.
const NOT_VALID = 'sitemapChangefreqNotValid' |
Validation key for not valid
Definition at line 45 of file Changefreq.php.