/** * 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'); } } }
/** * build all the data structures needed to build the form * * @return void * @access public */ function preProcess() { parent::preProcess(); $this->_id = $this->get('ssID'); }