public function __destruct() { $this->layout->sections = ContentType::sections(); parent::__destruct(); }