/** * Returns whether the page allows pjax. * * @return bool */ public function allowsPjax() { if (!is_null($this->pjax)) { return $this->pjax; } if ($this->parent) { return $this->parent->allowsPjax(); } return false; }