Example #1
0
 /**
  * Used in form model setJoinData.
  *
  * @since 2.1.1
  *
  * @return  array  of element names to search data in to create join data array
  * in this case append with the 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 = $this->getFullName(true, false) . '___repeatnum';
         $a[] = $repeatName;
         $repeatName = $this->getFullName(true, false) . '_id';
         $a[] = $repeatName;
     }
     return $a;
 }
Example #2
0
 /**
  * Used in form model setJoinData.
  *
  * @since 2.1.1
  *
  * @return  array  of element names to search data in to create join data array
  * in this case append with the repeatnums data for checkboxes rendered in repeat groups
  */
 public function getJoinDataNames()
 {
     $a = parent::getJoinDataNames();
     if ($this->isJoin()) {
         $a[] = $this->getFullName(true, false) . '___repeatnum';
         $a[] = $this->getFullName(true, false) . '_id';
     }
     return $a;
 }