public function ignore() { $section = Section::getByID($_POST['section']); Section::ignorePageRelation($this->page, $section->getLocale()); $r = new PageEditResponse(); $r->setPage($this->page); $r->setMessage(t('Page ignored.')); $r->outputJSON(); }