$x->autoJoin();
$x->is_element = $this->is_element;
$x->is_draft = $this->is_draft;
+ $x->is_deleted = 0;
$x->language = $lang;
if ($x->get('translation_of_id', $this->id)) {
return $x;
function toSitemapAll($xml, $site_base)
{
$this->is_draft = 0;
+ $x->is_deleted = 0;
$this->page_type_id = DB_DataObject::factory('core_enum')->lookup('cms_page_type', 'page');
$ar = $this->fetchAll();
$children->setFrom(array(
'parent_id' => (!empty($this->translation_of_id)) ? $this->translation_of_id : $this->id,
'is_draft' => 0,
+ 'is_deleted' => 0,
'is_element' => 1,
'translation_of_id' => 0
));