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 #4863 from totten/master-phpcbf4
[civicrm-core.git]
/
CRM
/
Admin
/
Page
/
PreferencesDate.php
diff --git
a/CRM/Admin/Page/PreferencesDate.php
b/CRM/Admin/Page/PreferencesDate.php
index b45187ca0b0cb852457768f093131b5a8f4d1d55..29c1381d8c7657c1a65b9c26b3aa61b217575dab 100644
(file)
--- a/
CRM/Admin/Page/PreferencesDate.php
+++ b/
CRM/Admin/Page/PreferencesDate.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
4
|
+ | CiviCRM version 4.
6
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
3
+ * @copyright CiviCRM LLC (c) 2004-201
4
* $Id$
*
*/
* $Id$
*
*/
@@
-51,7
+51,7
@@
class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
*
* @return string Classname of BAO.
*/
*
* @return string Classname of BAO.
*/
- function getBAOName() {
+
public
function getBAOName() {
return 'CRM_Core_BAO_PreferencesDate';
}
return 'CRM_Core_BAO_PreferencesDate';
}
@@
-60,7
+60,7
@@
class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
*
* @return array (reference) of action links
*/
*
* @return array (reference) of action links
*/
- function &links() {
+
public
function &links() {
if (!(self::$_links)) {
self::$_links = array(
CRM_Core_Action::UPDATE => array(
if (!(self::$_links)) {
self::$_links = array(
CRM_Core_Action::UPDATE => array(
@@
-82,10
+82,9
@@
class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
* Finally it calls the parent's run method.
*
* @return void
* Finally it calls the parent's run method.
*
* @return void
- * @access public
*
*/
*
*/
- function run() {
+
public
function run() {
// set title and breadcrumb
CRM_Utils_System::setTitle(ts('Settings - Date Preferences'));
return parent::run();
// set title and breadcrumb
CRM_Utils_System::setTitle(ts('Settings - Date Preferences'));
return parent::run();
@@
-96,7
+95,7
@@
class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
*
* @return string Classname of edit form.
*/
*
* @return string Classname of edit form.
*/
- function editForm() {
+
public
function editForm() {
return 'CRM_Admin_Form_PreferencesDate';
}
return 'CRM_Admin_Form_PreferencesDate';
}
@@
-105,17
+104,18
@@
class CRM_Admin_Page_PreferencesDate extends CRM_Core_Page_Basic {
*
* @return string name of this page.
*/
*
* @return string name of this page.
*/
- function editName() {
+
public
function editName() {
return 'Date Preferences';
}
/**
* Get user context.
*
return 'Date Preferences';
}
/**
* Get user context.
*
+ * @param null $mode
+ *
* @return string user context.
*/
* @return string user context.
*/
- function userContext($mode = NULL) {
+
public
function userContext($mode = NULL) {
return 'civicrm/admin/setting/preferences/date';
}
}
return 'civicrm/admin/setting/preferences/date';
}
}
-