PHP Class Thepixeldeveloper\Sitemap\Urlset

Inheritance: implements Thepixeldeveloper\Sitemap\OutputInterface
ファイルを表示 Open project: thepixeldeveloper/sitemap Class Usage Examples

Protected Properties

Property Type Description
$urls Thepixeldeveloper\Sitemap\OutputInterface[] Array of URL objects.

Public Methods

Method 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 method

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

generateXML() public method

public generateXML ( XMLWriter $XMLWriter )
$XMLWriter XMLWriter

getUrls() public method

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

Property Details

$urls protected_oe property

Array of URL objects.
protected OutputInterface[],Thepixeldeveloper\Sitemap $urls
return Thepixeldeveloper\Sitemap\OutputInterface[]