phpDocumentor

ContentSitemapPriority
in package

Class ContentSitemapPriority

This class represents the localized site map priority

Tags
category

System

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

Properties

Methods

__construct()

ContentSitemapPriority constructor

public __construct(float $priority) : mixed
Parameters
$priority : float

Content site map priority

Return values
mixed

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

Tags
example

= formatSitemapPriority(0.987654321) // $number === "0.9"

Return values
string

Search results