Skip to content

Latest commit

 

History

History
166 lines (55 loc) · 2.12 KB

DieSchittigs-ContaoContentApiBundle-Sitemap.md

File metadata and controls

166 lines (55 loc) · 2.12 KB

DieSchittigs\ContaoContentApiBundle\Sitemap

Sitemap represents the actual site structure as an object tree.

The resulting instance can be iterated and used like an array.

Properties

$sitemap

protected mixed $sitemap = array()
  • Visibility: protected

$sitemapFlat

public mixed $sitemapFlat
  • Visibility: public

Methods

__construct

mixed DieSchittigs\ContaoContentApiBundle\Sitemap::__construct(string $language, integer $pid)

constructor.

  • Visibility: public

Arguments

  • $language string - <p>If set, ignores other languages</p>
  • $pid integer - <p>Parent ID (for recursive calls)</p>

getIterator

mixed DieSchittigs\ContaoContentApiBundle\Sitemap::getIterator()
  • Visibility: public

offsetExists

mixed DieSchittigs\ContaoContentApiBundle\Sitemap::offsetExists($offset)
  • Visibility: public

Arguments

  • $offset mixed

offsetGet

mixed DieSchittigs\ContaoContentApiBundle\Sitemap::offsetGet($offset)
  • Visibility: public

Arguments

  • $offset mixed

offsetSet

mixed DieSchittigs\ContaoContentApiBundle\Sitemap::offsetSet($offset, $value)
  • Visibility: public

Arguments

  • $offset mixed
  • $value mixed

offsetUnset

mixed DieSchittigs\ContaoContentApiBundle\Sitemap::offsetUnset($offset)
  • Visibility: public

Arguments

  • $offset mixed

count

mixed DieSchittigs\ContaoContentApiBundle\Sitemap::count()
  • Visibility: public

toJson

mixed DieSchittigs\ContaoContentApiBundle\ContaoJsonSerializable::toJson()