Documentation

addEntry

void public
\Bitrix\Seo\SitemapFile::addEntry(
 array $entry
);

Method adds new entry as an array to the current sitemap file. Non-static method.

Keys for added array:

XML_LOC - values, specifying field location;

XML_LASTMOD - last field value update.

Parameters

ParameterDescriptionVersion
$entryAdded array.

Example



© «Bitrix24», 2001-2024