Example #1
0
 public function getAccType()
 {
     return $this->hasOne(Acctype::className(), array('id' => 'type'));
 }