PHP Class Thepixeldeveloper\Sitemap\Sitemap

Inheritance: implements Thepixeldeveloper\Sitemap\OutputInterface
Afficher le fichier Open project: thepixeldeveloper/sitemap

Protected Properties

Свойство Type Description
$lastMod string Last modified time.
$loc string Location (URL).

Méthodes publiques

Méthode Description
__construct ( string $loc ) Url constructor
generateXML ( XMLWriter $XMLWriter )
getLastMod ( ) : string | null Get the last modification time.
getLoc ( ) : string Get location (URL).
setLastMod ( string $lastMod ) Set the last modification time.

Method Details

__construct() public méthode

Url constructor
public __construct ( string $loc )
$loc string

generateXML() public méthode

public generateXML ( XMLWriter $XMLWriter )
$XMLWriter XMLWriter

getLastMod() public méthode

Get the last modification time.
public getLastMod ( ) : string | null
Résultat string | null

getLoc() public méthode

Get location (URL).
public getLoc ( ) : string
Résultat string

setLastMod() public méthode

Set the last modification time.
public setLastMod ( string $lastMod )
$lastMod string

Property Details

$lastMod protected_oe property

Last modified time.
protected string $lastMod
Résultat string

$loc protected_oe property

Location (URL).
protected string $loc
Résultat string