projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #5077 from eileenmcnaughton/comment-full-stops
[civicrm-core.git]
/
CRM
/
Admin
/
Form
/
Mapping.php
diff --git
a/CRM/Admin/Form/Mapping.php
b/CRM/Admin/Form/Mapping.php
index ae1806af2aa7710ec753152d29b71c1b6f003b2b..ce3a2ffffc24705f4bb5722f780164b325a60d29 100644
(file)
--- a/
CRM/Admin/Form/Mapping.php
+++ b/
CRM/Admin/Form/Mapping.php
@@
-1,7
+1,7
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
5
|
+ | CiviCRM version 4.
6
|
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
@@
-23,7
+23,7
@@
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
| 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 {
/**
class CRM_Admin_Form_Mapping extends CRM_Admin_Form {
/**
- *
Function to build the form
+ *
Build the form object
*
* @return void
*
* @return void
- * @access public
*/
public function preProcess() {
parent::preProcess();
*/
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->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')
$this->addElement('text', 'description', ts('Description'),
CRM_Core_DAO::getAttribute('CRM_Core_DAO_Mapping', 'description')
@@
-83,15
+85,14
@@
class CRM_Admin_Form_Mapping extends CRM_Admin_Form {
/**
* @return array
*/
/**
* @return array
*/
- function setDefaultValues() {
+
public
function setDefaultValues() {
$defaults = parent::setDefaultValues();
return $defaults;
}
/**
$defaults = parent::setDefaultValues();
return $defaults;
}
/**
- *
Function to process the form
+ *
Process the form submission
*
*
- * @access public
*
* @return void
*/
*
* @return void
*/
@@
-114,4
+115,3
@@
class CRM_Admin_Form_Mapping extends CRM_Admin_Form {
}
}
}
}
-