[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 66 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Item:: (3 methods):
__construct()
createFromID()
toXML()
__construct($url, $lastmod, $changefreq = null, $priority = null) X-Ref |
Create a new item. param: string $url The url of the item param: int $lastmod Timestamp of the last modification param: string $changefreq How frequently the item is likely to change. param: $priority float|string The priority of the item relative to other URLs on your site. |
createFromID($id, $changefreq = null, $priority = null) X-Ref |
Helper function for creating an item for a wikipage id. param: string $id A wikipage id. param: string $changefreq How frequently the item is likely to change. param: float|string $priority The priority of the item relative to other URLs on your site. return: Item The sitemap item. |
toXML() X-Ref |
Get the XML representation of the sitemap item. return: string The XML representation. |