コード例 #1
0
 /**
  * Get the block for the page block item
  *
  * @return ActiveQuery
  */
 public function getBlock()
 {
     return $this->hasOne(Block::className(), ['id' => 'block_id']);
 }