public function getModel()
{
if ($this->_model !== false) {
return $this->_model;
}
if (!($id = \Yii::$app->request->get('id'))) {
$this->_model = null;
return false;
}
$this->_model = CmsContentElement::findOne(['id' => $id]);
return $this->_model;
}