Exemplo n.º 1
0
 public function getAdmregulations()
 {
     return $this->hasMany(Admregulations::className(), ['subcat_id' => 'id']);
 }