X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FForm%2FCustomData.php;h=022534ea151568443f4524745f970f583b3b65f8;hb=76f1a3f2a53b1a3a03df8cf3ff33a1a32c84cc6b;hp=79113aa551d11f77ec7d464b662c61d273f9ff8a;hpb=4fd26f71c62960fbbb738a549bb595926f1eb70b;p=civicrm-core.git diff --git a/CRM/Contact/Form/CustomData.php b/CRM/Contact/Form/CustomData.php index 79113aa551..022534ea15 100644 --- a/CRM/Contact/Form/CustomData.php +++ b/CRM/Contact/Form/CustomData.php @@ -61,7 +61,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { * Entity sub type of the table id * * @var string - * @access protected */ protected $_entitySubType; @@ -97,7 +96,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { * Custom group id * * @int - * @access public */ public $_groupID; @@ -113,10 +111,9 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { * * @return void * - * @access public * */ - function preProcess() { + public function preProcess() { $this->_cdType = CRM_Utils_Array::value('type', $_GET); $this->assign('cdType', FALSE); $this->_multiRecordDisplay = CRM_Utils_Request::retrieve('multiRecordDisplay', 'String', $this); @@ -178,7 +175,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_cdType || $this->_multiRecordDisplay == 'single') { @@ -236,11 +232,10 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { /** * Set the default form values * - * @access protected * * @return array the default array reference */ - function setDefaultValues() { + public function setDefaultValues() { if ($this->_cdType || $this->_multiRecordDisplay == 'single') { if ($this->_copyValueId) { // cached tree is fetched @@ -294,7 +289,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { /** * Process the user submitted custom data values. * - * @access public * * @return void */ @@ -318,4 +312,4 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { // reset the group contact cache for this group CRM_Contact_BAO_GroupContactCache::remove(); } -} \ No newline at end of file +}