X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=CRM%2FPCP%2FPage%2FPCP.php;h=2b3972b08b18bf5a79c917d7499de5c2c420a18c;hb=b44e3f8468ceba3e1b321d31dd2e35a1aa1a5d9a;hp=4944b06e81ae960be694515bc7586dee57be7c24;hpb=53310fc2e82a7d5d604380b16e1e795fd9882e21;p=civicrm-core.git diff --git a/CRM/PCP/Page/PCP.php b/CRM/PCP/Page/PCP.php index 4944b06e81..2b3972b08b 100644 --- a/CRM/PCP/Page/PCP.php +++ b/CRM/PCP/Page/PCP.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | + | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -23,12 +23,12 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2014 + * @copyright CiviCRM LLC (c) 2004-2015 * $Id$ * */ @@ -39,15 +39,14 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic { /** - * The action links that we need to display for the browse screen + * The action links that we need to display for the browse screen. * * @var array - * @static */ static $_links = NULL; /** - * Get BAO Name + * Get BAO Name. * * @return string * Classname of BAO. @@ -57,7 +56,7 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic { } /** - * Get action Links + * Get action Links. * * @return array * (reference) of action links @@ -167,7 +166,6 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic { * @param null $action * * @return void - * @static */ public function browse($action = NULL) { $this->_sortByCharacter = CRM_Utils_Request::retrieve('sortByCharacter', @@ -236,7 +234,7 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic { } // get all event pages. pcp campaign start and end dates for event related pcp's use the online registration start and end dates, - // altho if target is contribution page this might not be correct. fixme? dgg + // although if target is contribution page this might not be correct. fixme? dgg $query = "SELECT id, title, start_date, end_date, registration_start_date, registration_end_date FROM civicrm_event WHERE is_template IS NULL OR is_template != 1"; @@ -358,7 +356,7 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic { } /** - * Get name of edit form + * Get name of edit form. * * @return string * Classname of edit form. @@ -368,7 +366,7 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic { } /** - * Get edit form name + * Get edit form name. * * @return string * name of this page. @@ -389,8 +387,8 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic { return 'civicrm/admin/pcp'; } - //@TODO this function changed, debug this at runtime /** + * @TODO this function changed, debug this at runtime * @param $whereClause * @param array $whereParams */ @@ -415,4 +413,5 @@ class CRM_PCP_Page_PCP extends CRM_Core_Page_Basic { $aToZBar = CRM_Utils_PagerAToZ::getAToZBar($dao, $this->_sortByCharacter, TRUE); $this->assign('aToZ', $aToZBar); } + }