/**
  * returns redform fields
  * @param boolean $all set true to return all fields
  * @return array
  */
 function getFields($all = false)
 {
     $event = $this->getEvent();
     $rfcore = new RedFormCore();
     return $rfcore->getFields($event->redform_id);
 }
Exemple #2
0
 function getFields($form_id)
 {
     $rfcore = new RedFormCore();
     return $rfcore->getFields($form_id);
 }