Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Url Class Reference

Url for Seo module, use for sitemap generation. More...

Public Member Functions

 __construct ($location="", $lastModified=null, $changeFrequency="daily", $priority="0.5")
 
 getLocation ()
 
 getLastModified ()
 
 getChangeFrequency ()
 
 getPriority ()
 
 setLocation ($location)
 
 setLastModified ($lastModified)
 
 setChangeFrequency ($changeFrequency)
 
 setPriority ($priority)
 
 getExisting ()
 
 setExisting ($existing)
 
 getValid ()
 
 setValid ($valid)
 

Static Public Member Functions

static fromArray ($array, $existing=true)
 

Private Attributes

 $location
 
 $lastModified
 
 $changeFrequency
 
 $priority
 
 $existing
 
 $valid
 

Detailed Description

Url for Seo module, use for sitemap generation.

Author
jc

Definition at line 13 of file Url.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $location = "",
  $lastModified = null,
  $changeFrequency = "daily",
  $priority = "0.5" 
)

Definition at line 21 of file Url.php.

Member Function Documentation

◆ fromArray()

static fromArray (   $array,
  $existing = true 
)
static

Definition at line 108 of file Url.php.

◆ getChangeFrequency()

getChangeFrequency ( )
Returns
string

Definition at line 50 of file Url.php.

◆ getExisting()

getExisting ( )
Returns
mixed

Definition at line 97 of file Url.php.

◆ getLastModified()

getLastModified ( )
Returns
string

Definition at line 42 of file Url.php.

◆ getLocation()

getLocation ( )
Returns
mixed

Definition at line 34 of file Url.php.

◆ getPriority()

getPriority ( )
Returns
string

Definition at line 58 of file Url.php.

◆ getValid()

getValid ( )
Returns
boolean

Definition at line 118 of file Url.php.

◆ setChangeFrequency()

setChangeFrequency (   $changeFrequency)
Parameters
string$changeFrequency

Definition at line 82 of file Url.php.

◆ setExisting()

setExisting (   $existing)
Parameters
mixed$existing

Definition at line 104 of file Url.php.

◆ setLastModified()

setLastModified (   $lastModified)
Parameters
string$lastModified

Definition at line 74 of file Url.php.

◆ setLocation()

setLocation (   $location)
Parameters
mixed$location

Definition at line 66 of file Url.php.

◆ setPriority()

setPriority (   $priority)
Parameters
string$priority

Definition at line 90 of file Url.php.

◆ setValid()

setValid (   $valid)
Parameters
boolean$valid

Definition at line 125 of file Url.php.

Field Documentation

◆ $changeFrequency

$changeFrequency
private

Definition at line 16 of file Url.php.

◆ $existing

$existing
private

Definition at line 18 of file Url.php.

◆ $lastModified

$lastModified
private

Definition at line 15 of file Url.php.

◆ $location

$location
private

Definition at line 14 of file Url.php.

◆ $priority

$priority
private

Definition at line 17 of file Url.php.

◆ $valid

$valid
private

Definition at line 19 of file Url.php.


The documentation for this class was generated from the following file: