From: Tim Mallezie Date: Tue, 17 Mar 2015 08:11:28 +0000 (+0100) Subject: fixed codestye issues X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d5965a3793a121c791f8ec96e57fd68597748908;p=civicrm-core.git fixed codestye issues --- diff --git a/CRM/Activity/Form/Activity.php b/CRM/Activity/Form/Activity.php index ab9e242a08..d8307b2659 100644 --- a/CRM/Activity/Form/Activity.php +++ b/CRM/Activity/Form/Activity.php @@ -121,8 +121,8 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task { protected $_values = array(); protected $unsavedWarn = TRUE; - - /** + + /** * Explicitly declare the entity api name. */ public function getDefaultEntity() { diff --git a/CRM/Admin/Form/ParticipantStatusType.php b/CRM/Admin/Form/ParticipantStatusType.php index b7f5bfcbe0..b958f0c727 100644 --- a/CRM/Admin/Form/ParticipantStatusType.php +++ b/CRM/Admin/Form/ParticipantStatusType.php @@ -33,14 +33,14 @@ * */ class CRM_Admin_Form_ParticipantStatusType extends CRM_Admin_Form { - + /** * Explicitly declare the entity api name. */ public function getDefaultEntity() { return 'ParticipantStatusType'; } - + public function buildQuickForm() { parent::buildQuickForm(); diff --git a/CRM/Admin/Form/Tag.php b/CRM/Admin/Form/Tag.php index 10292215fe..dda438a726 100644 --- a/CRM/Admin/Form/Tag.php +++ b/CRM/Admin/Form/Tag.php @@ -39,7 +39,7 @@ */ class CRM_Admin_Form_Tag extends CRM_Admin_Form { protected $_isTagSet; - + /** * Explicitly declare the entity api name. */ diff --git a/CRM/Campaign/Form/Campaign.php b/CRM/Campaign/Form/Campaign.php index 6686aa6e05..9e7c853fa2 100644 --- a/CRM/Campaign/Form/Campaign.php +++ b/CRM/Campaign/Form/Campaign.php @@ -66,7 +66,7 @@ class CRM_Campaign_Form_Campaign extends CRM_Core_Form { * @var int */ protected $_campaignId; - + /** * Explicitly declare the entity api name. */ diff --git a/CRM/Campaign/Form/Survey/Main.php b/CRM/Campaign/Form/Survey/Main.php index 95b3165c2f..794474dd5d 100644 --- a/CRM/Campaign/Form/Survey/Main.php +++ b/CRM/Campaign/Form/Survey/Main.php @@ -52,7 +52,7 @@ class CRM_Campaign_Form_Survey_Main extends CRM_Campaign_Form_Survey { * @var string */ protected $_context; - + /** * Explicitly declare the entity api name. */ diff --git a/CRM/Contact/Form/Contact.php b/CRM/Contact/Form/Contact.php index 602b57bfcd..65df284ebd 100644 --- a/CRM/Contact/Form/Contact.php +++ b/CRM/Contact/Form/Contact.php @@ -126,7 +126,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { * during the write phase */ public $_preEditValues; - + /** * Explicitly declare the entity api name. */ diff --git a/CRM/Contact/Form/Search.php b/CRM/Contact/Form/Search.php index 76f3cb5ef1..9afc63056b 100644 --- a/CRM/Contact/Form/Search.php +++ b/CRM/Contact/Form/Search.php @@ -159,7 +159,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { protected $_customSearchClass = NULL; protected $_openedPanes = array(); - + /** * Explicitly declare the entity api name. */ @@ -332,9 +332,10 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { $this->_taskList += CRM_Contact_Task::permissionedTaskTitles($permission, CRM_Utils_Array::value('deleted_contacts', $this->_formValues) ); - } else { + } + else { $className = $this->_modeValue['taskClassName']; - $this->_taskList += $className::permissionedTaskTitles($permission, false); + $this->_taskList += $className::permissionedTaskTitles($permission, FALSE); } // Only offer the "Update Smart Group" task if a smart group/saved search is already in play diff --git a/CRM/Contribute/Form/ContributionPage.php b/CRM/Contribute/Form/ContributionPage.php index 19b8aa3013..75125a8032 100644 --- a/CRM/Contribute/Form/ContributionPage.php +++ b/CRM/Contribute/Form/ContributionPage.php @@ -81,7 +81,7 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form { protected $_priceSetID = NULL; protected $_values; - + /** * Explicitly declare the entity api name. */ diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index 53078f0e5b..e071c7160e 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -1037,9 +1037,9 @@ class CRM_Core_Form extends HTML_QuickForm_Page { $this->addDate($name . $to, ts('To:'), $required, array('formatType' => $dateFormat)); } } - + /** - * Classes extending CRM_Core_Form should implement this method. + * Classes extending CRM_Core_Form should implement this method. * @throws Exception */ public function getDefaultEntity() { diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index 346046b099..ea70fe67c4 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -188,7 +188,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * @var null */ public $_onlinePendingContributionId = NULL; - + /** * Explicitly declare the entity api name. */ diff --git a/CRM/Event/Form/SearchEvent.php b/CRM/Event/Form/SearchEvent.php index 865a923309..d5555db620 100644 --- a/CRM/Event/Form/SearchEvent.php +++ b/CRM/Event/Form/SearchEvent.php @@ -33,7 +33,7 @@ * */ class CRM_Event_Form_SearchEvent extends CRM_Core_Form { - + /** * Explicitly declare the entity api name. */ @@ -69,7 +69,7 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form { ); $this->addSelect('event_type_id', array('multiple' => TRUE, 'context' => 'search')); - + $eventsByDates = array(); $searchOption = array(ts('Show Current and Upcoming Events'), ts('Search All or by Date Range')); $this->addRadio('eventsByDates', ts('Events by Dates'), $searchOption, array('onclick' => "return showHideByValue('eventsByDates','1','id_fromToDates','block','radio',true);"), "
"); diff --git a/CRM/Grant/Form/Grant.php b/CRM/Grant/Form/Grant.php index 6b9aaae323..86d162aefb 100644 --- a/CRM/Grant/Form/Grant.php +++ b/CRM/Grant/Form/Grant.php @@ -54,7 +54,7 @@ class CRM_Grant_Form_Grant extends CRM_Core_Form { protected $_contactID; protected $_context; - + /** * Explicitly declare the entity api name. */ diff --git a/CRM/Member/Form/MembershipConfig.php b/CRM/Member/Form/MembershipConfig.php index 8598abfbb2..9a53aa9b5f 100644 --- a/CRM/Member/Form/MembershipConfig.php +++ b/CRM/Member/Form/MembershipConfig.php @@ -52,8 +52,8 @@ class CRM_Member_Form_MembershipConfig extends CRM_Core_Form { * @var string */ protected $_BAOName; - - /** + + /** * Explicitly declare the entity api name. */ public function getDefaultEntity() { diff --git a/CRM/Profile/Form.php b/CRM/Profile/Form.php index 6bcf38ffbc..8727a4c612 100644 --- a/CRM/Profile/Form.php +++ b/CRM/Profile/Form.php @@ -175,7 +175,7 @@ class CRM_Profile_Form extends CRM_Core_Form { protected $_currentUserID = NULL; protected $_session = NULL; - + /** * Explicitly declare the entity api name. */