public function init() { parent::init(); if ($this->mode === self::MODE_BEGIN) { echo Html::beginTag('div', $this->options) . "\n"; } }