コード例 #1
0
ファイル: databasejoin.php プロジェクト: ppantilla/bbninja
 /**
  * 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;
 }
コード例 #2
0
ファイル: databasejoin.php プロジェクト: LGBGit/tierno
 /**
  * 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;
 }