ContentSitemapPriority
in package
Class ContentSitemapPriority
This class represents the localized site map priority
Tags
Table of Contents
- MAX = 1.0
- Maximum value
- MIN = 0.0
- Minimum value
- $priority : string
- Content site map priority
- __construct() : mixed
- ContentSitemapPriority constructor
- content() : string
- Return the content site map priority
- formatSitemapPriority() : string
- Format the provided site map priority float to its according string representation This method will NOT round the value of a provided float, that contains many decimals
Constants
MAX
Maximum value
public
mixed
MAX
= 1.0
MIN
Minimum value
public
mixed
MIN
= 0.0
Properties
$priority
Content site map priority
protected
string
$priority
Methods
__construct()
ContentSitemapPriority constructor
public
__construct(float $priority) : mixed
Parameters
- $priority : float
-
Content site map priority
Return values
mixed —content()
Return the content site map priority
public
content() : string
Return values
string —formatSitemapPriority()
Format the provided site map priority float to its according string representation This method will NOT round the value of a provided float, that contains many decimals
protected
formatSitemapPriority(float $value) : string
Parameters
- $value : float
-
Float site map priority value