/** * @return \yii\db\ActiveQuery */ public function getPage() { return $this->hasOne(CmsPages::className(), ['page_id' => 'page_id']); }