コード例 #1
0
ファイル: Update.php プロジェクト: hampelm/Ginsberg-CiviDemo
 /**
  * build all the data structures needed to build the form
  *
  * @return void
  * @access public
  */
 function preProcess()
 {
     parent::preProcess();
     $this->_id = $this->get('ssID');
     if (!$this->_id) {
         // fetch the value from the group id gid
         $gid = $this->get('gid');
         if ($gid) {
             $this->_id = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Group', $gid, 'saved_search_id');
         }
     }
 }
コード例 #2
0
ファイル: Update.php プロジェクト: bhirsch/voipdrupal-4.7-1.0
 /**
  * build all the data structures needed to build the form
  *
  * @return void
  * @access public
  */
 function preProcess()
 {
     parent::preProcess();
     $this->_id = $this->get('ssID');
 }