Example #1
0
 /**
  * undocumented function
  *
  * @return void
  * @author
  **/
 public function getType()
 {
     return $this->hasOne(PollType::className(), ['poll_type_id' => 'poll_type_id'])->inverseOf('poll');
 }