public function getLayout() { return $this->hasOne(\cmsadmin\models\Layout::className(), ['id' => 'layout_id']); }