*
* @return string Classname of BAO.
*/
- function getBAOName() {
+ public function getBAOName() {
return 'CRM_Contribute_BAO_Premium';
}
*
* @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 remove this product form this page?');
* @access public
*
*/
- function run() {
+ public function run() {
// get the requested action
$action = CRM_Utils_Request::retrieve('action', 'String',
// default to 'browse'
* @access public
* @static
*/
- function browse() {
+ public function browse() {
// get all custom groups sorted by weight
$premiums = array();
$pageID = CRM_Utils_Request::retrieve('id', 'Positive',
*
* @return string Classname of edit form.
*/
- function editForm() {
+ public function editForm() {
return 'CRM_Contribute_Form_ContributionPage_Premium';
}
*
* @return string name of this page.
*/
- function editName() {
+ public function editName() {
return 'Configure Premiums';
}
*
* @return string user context.
*/
- function userContext($mode = NULL) {
+ public function userContext($mode = NULL) {
return CRM_Utils_System::currentPath();
}
}