コード例 #1
0
ファイル: Regulations.php プロジェクト: phprocks/normativos
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAttachments()
 {
     return $this->hasMany(Attachments::className(), ['regulations_id' => 'id']);
 }