예제 #1
0
 public function getBlock()
 {
     return $this->hasOne(\cmsadmin\models\Block::className(), ['id' => 'block_id']);
 }