| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
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();
$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')
}
/**
- * Process the form submission
+ * Process the form submission.
*
- * @access public
*
* @return void
*/
}
}
-