예제 #1
0
 public function getTypeo()
 {
     return $this->hasOne(PaymentType::className(), array('id' => 'type'));
 }