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 #4961 from pratikshad/core-bugs
[civicrm-core.git]
/
CRM
/
Contribute
/
Page
/
ContributionPage.php
diff --git
a/CRM/Contribute/Page/ContributionPage.php
b/CRM/Contribute/Page/ContributionPage.php
index f5c9f504c78209916dc23c9f2dfb702c282e64ab..6ccdf2d34e7b3e6eba320b6ba37cfb301709b1fe 100644
(file)
--- a/
CRM/Contribute/Page/ContributionPage.php
+++ b/
CRM/Contribute/Page/ContributionPage.php
@@
-71,7
+71,7
@@
class CRM_Contribute_Page_ContributionPage extends CRM_Core_Page {
*
* @return array
*/
*
* @return array
*/
- function &actionLinks() {
+
public
function &actionLinks() {
// check if variable _actionsLinks is populated
if (!isset(self::$_actionLinks)) {
// helper variable for nicer formatting
// check if variable _actionsLinks is populated
if (!isset(self::$_actionLinks)) {
// helper variable for nicer formatting
@@
-294,7
+294,7
@@
class CRM_Contribute_Page_ContributionPage extends CRM_Core_Page {
'url' => CRM_Utils_System::url(CRM_Utils_System::currentPath(),
'reset=1'
),
'url' => CRM_Utils_System::url(CRM_Utils_System::currentPath(),
'reset=1'
),
- )
+ )
,
);
// what action to take ?
);
// what action to take ?
@@
-392,7
+392,6
@@
AND cp.page_type = 'contribute'
*
* @param mixed $action
* Unused parameter.
*
* @param mixed $action
* Unused parameter.
- * @static
*/
public function browse($action = NULL) {
$this->_sortByCharacter = CRM_Utils_Request::retrieve('sortByCharacter',
*/
public function browse($action = NULL) {
$this->_sortByCharacter = CRM_Utils_Request::retrieve('sortByCharacter',
@@
-625,7
+624,7
@@
ORDER BY title asc
*
* @return int[]
*/
*
* @return int[]
*/
- function getCampaignIds() {
+
public
function getCampaignIds() {
// The unfiltered value from the session cannot be trusted, it needs to be
// processed to get a clean array of positive integers.
$ids = array();
// The unfiltered value from the session cannot be trusted, it needs to be
// processed to get a clean array of positive integers.
$ids = array();
@@
-641,7
+640,7
@@
ORDER BY title asc
* @param $whereClause
* @param array $whereParams
*/
* @param $whereClause
* @param array $whereParams
*/
- function pager($whereClause, $whereParams) {
+
public
function pager($whereClause, $whereParams) {
$params['status'] = ts('Contribution %%StatusMessage%%');
$params['csvString'] = NULL;
$params['status'] = ts('Contribution %%StatusMessage%%');
$params['csvString'] = NULL;