public function setSiteTreeObject(TreeInterface $tree) { parent::setSiteTreeObject($tree); $this->query->andWhere('s.siteTreeID = :siteTreeID or s.siteTreeID is null'); }