PHP Class Thepixeldeveloper\Sitemap\Urlset

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

Protected Properties

Свойство Type Description
$urls Thepixeldeveloper\Sitemap\OutputInterface[] Array of URL objects.

Méthodes publiques

Méthode Description
addUrl ( Thepixeldeveloper\Sitemap\OutputInterface $url ) Add a new URL object.
generateXML ( XMLWriter $XMLWriter )
getUrls ( ) : Thepixeldeveloper\Sitemap\OutputInterface[] Get array of URL objects.

Method Details

addUrl() public méthode

Add a new URL object.
public addUrl ( Thepixeldeveloper\Sitemap\OutputInterface $url )
$url Thepixeldeveloper\Sitemap\OutputInterface

generateXML() public méthode

public generateXML ( XMLWriter $XMLWriter )
$XMLWriter XMLWriter

getUrls() public méthode

Get array of URL objects.
public getUrls ( ) : Thepixeldeveloper\Sitemap\OutputInterface[]
Résultat Thepixeldeveloper\Sitemap\OutputInterface[]

Property Details

$urls protected_oe property

Array of URL objects.
protected OutputInterface[],Thepixeldeveloper\Sitemap $urls
Résultat Thepixeldeveloper\Sitemap\OutputInterface[]