Methods
1 to 11 of 11
- Jetpack_Sitemap_Buffer::__construct() – Construct a new Jetpack_Sitemap_Buffer.
- Jetpack_Sitemap_Buffer::append() – Append an item to the buffer, if there is room for it, and set is_empty_flag to false. If there is no room, we set is_full_flag to true. If $item is null, don’t do anything and report success.
- Jetpack_Sitemap_Buffer::array_to_xml_string() – Render an associative array as an XML string. This is needed because SimpleXMLElement only handles valid XML, but we sometimes want to pass around (possibly invalid) fragments. Note that ‘null’ values make a tag self-closing; this is only sometimes correct (depending on the version of HTML/XML); see the list of ‘void tags’.
- Jetpack_Sitemap_Buffer::contents() – Retrieve the contents of the buffer.
- Jetpack_Sitemap_Buffer::get_document() – Retrieve the document object.
- Jetpack_Sitemap_Buffer::get_root_element() – Returns a DOM element that contains all sitemap elements.
- Jetpack_Sitemap_Buffer::is_empty() – Detect whether the buffer is empty.
- Jetpack_Sitemap_Buffer::is_full() – Detect whether the buffer is full.
- Jetpack_Sitemap_Buffer::last_modified() – Retrieve the timestamp of the buffer.
- Jetpack_Sitemap_Buffer::try_to_add_item() – Append an item to the buffer, if there is room for it, and set is_empty_flag to false. If there is no room, we set is_full_flag to true. If $item is null, don’t do anything and report success.
- Jetpack_Sitemap_Buffer::view_time() – Update the timestamp of the buffer.