phpcs - Fix error, "Expected 1 newline at end of file; XXX found".
[civicrm-core.git] / CRM / Admin / Page / Mapping.php
index 95c1ed9eb37e2f3fd979e9d213db7e10f8ad5a0d..609cac7fadfc7661b67d906b522ddcc345eac7fb 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -38,6 +38,8 @@
  */
 class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
 
+  public $useLivePageJS = TRUE;
+
   /**
    * The action links that we need to display for the browse screen
    *
@@ -51,7 +53,7 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
    *
    * @return string Classname of BAO.
    */
-  function getBAOName() {
+  public function getBAOName() {
     return 'CRM_Core_BAO_Mapping';
   }
 
@@ -60,7 +62,7 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
    *
    * @return array (reference) of action links
    */
-  function &links() {
+  public function &links() {
     if (!(self::$_links)) {
       // helper variable for nicer formatting
       $deleteExtra = ts('Are you sure you want to delete this mapping?') . ' ' . ts('This operation cannot be undone.');
@@ -87,7 +89,7 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
    *
    * @return string Classname of edit form.
    */
-  function editForm() {
+  public function editForm() {
     return 'CRM_Admin_Form_Mapping';
   }
 
@@ -96,7 +98,7 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
    *
    * @return string name of this page.
    */
-  function editName() {
+  public function editName() {
     return 'Mapping';
   }
 
@@ -105,7 +107,7 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
    *
    * @return string name of this page.
    */
-  function deleteName() {
+  public function deleteName() {
     return 'Mapping';
   }
 
@@ -116,7 +118,7 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
    *
    * @return string user context.
    */
-  function userContext($mode = NULL) {
+  public function userContext($mode = NULL) {
     return 'civicrm/admin/mapping';
   }
 
@@ -125,7 +127,7 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
    *
    * @return string Classname of delete form.
    */
-  function deleteForm() {
+  public function deleteForm() {
     return 'CRM_Admin_Form_Mapping';
   }
 
@@ -134,9 +136,8 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic {
    *
    * @return void
    */
-  function run() {
+  public function run() {
     $sort = 'mapping_type asc';
     return parent::run($sort);
   }
 }
-