/** * Function to build the form * * @return None * @access public */ public function buildQuickForm() { CRM_Friend_BAO_Friend::buildFriendForm($this); parent::buildQuickForm(); }
/** * Build the form object. * * @return void */ public function buildQuickForm() { if (isset($this->_id)) { $defaults['entity_table'] = 'civicrm_contribution_page'; $defaults['entity_id'] = $this->_id; CRM_Friend_BAO_Friend::getValues($defaults); $this->_friendId = CRM_Utils_Array::value('id', $defaults); } CRM_Friend_BAO_Friend::buildFriendForm($this); parent::buildQuickForm(); }