X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FAdmin%2FForm%2FMapping.php;h=15e3b1576e4127da0fa1e96e43f9cf13103758e4;hb=2817d84b3736cb0c6051fd9fac875e85f8497caa;hp=1bcce7d0a3f376cbbcbf5267564080d11bff64fb;hpb=00be918220e9ac8f6d25d12ed3c9c49fddd07ff7;p=civicrm-core.git diff --git a/CRM/Admin/Form/Mapping.php b/CRM/Admin/Form/Mapping.php index 1bcce7d0a3..15e3b1576e 100644 --- a/CRM/Admin/Form/Mapping.php +++ b/CRM/Admin/Form/Mapping.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * @@ -40,10 +40,9 @@ class CRM_Admin_Form_Mapping extends CRM_Admin_Form { /** - * Build the form object + * Build the form object. * * @return void - * @access public */ public function preProcess() { parent::preProcess(); @@ -66,7 +65,10 @@ class CRM_Admin_Form_Mapping extends CRM_Admin_Form { $this->add('text', 'name', ts('Name'), CRM_Core_DAO::getAttribute('CRM_Core_DAO_Mapping', 'name'), TRUE ); - $this->addRule('name', ts('Name already exists in Database.'), 'objectExists', array('CRM_Core_DAO_Mapping', $this->_id)); + $this->addRule('name', ts('Name already exists in Database.'), 'objectExists', array( + 'CRM_Core_DAO_Mapping', + $this->_id, + )); $this->addElement('text', 'description', ts('Description'), CRM_Core_DAO::getAttribute('CRM_Core_DAO_Mapping', 'description') @@ -89,9 +91,8 @@ class CRM_Admin_Form_Mapping extends CRM_Admin_Form { } /** - * Process the form submission + * Process the form submission. * - * @access public * * @return void */ @@ -114,4 +115,3 @@ class CRM_Admin_Form_Mapping extends CRM_Admin_Form { } } -