Documentation

appendEntry

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

Method adds new entry to the current completed sitemap file. Non-static method.

Kets for added array:

XML_LOC - value, specifying field location;

XML_LASTMOD - last updated field value.

Parameters

ParameterDescriptionVersion
$entryAdded array.

Example



© «Bitrix24», 2001-2024
Up