/** * @inheritdoc */ public function init() { parent::init(); if ($this->pageTitle === null) { $this->pageTitle = 'The Definitive Guide to Yii 2.0'; } }
public function init() { parent::init(); if ($this->pageTitle === null) { $this->pageTitle = 'Yii Framework 2.0 API Documentation'; // TODO guess page title } }