Ejemplo n.º 1
0
 /**
  * @since 2.1.1
  * used in form model setJoinData.
  * @return array of element names to search data in to create join data array
  * in this case append with teh repeatnums data for checkboxes rendered in repeat groups
  */
 public function getJoinDataNames()
 {
     $a = parent::getJoinDataNames();
     if ($this->isJoin()) {
         $element =& $this->getElement();
         $group =& $this->getGroup()->getGroup();
         $join =& $this->getJoinModel()->getJoin();
         $repeatName = $join->table_join . '___repeatnum';
         $fvRepeatName = 'join[' . $group->join_id . '][' . $repeatName . ']';
         $a[] = array($repeatName, $fvRepeatName);
     }
     return $a;
 }