| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
public $useLivePageJS = TRUE;
/**
- * The field id of the option
+ * The field id of the option.
*
* @var int
*/
protected $_fid;
/**
- * The field id of the option
+ * The field id of the option.
*
* @var int
*/
protected $_sid;
/**
- * The price set is reserved or not
+ * The price set is reserved or not.
*
* @var boolean
*/
protected $_isSetReserved = FALSE;
/**
- * 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
*/
/**
* Get the action links for this page.
*
- * @param null
- *
* @return array
* array of action links that we need to display for the browse screen
*/
- function &actionLinks() {
+ public function &actionLinks() {
if (!isset(self::$_actionLinks)) {
self::$_actionLinks = array(
CRM_Core_Action::UPDATE => array(
/**
* Browse all price fields.
*
- * @param null
- *
* @return void
*/
public function browse() {
* This method is called after the page is created. It checks for the
* type of action and executes that action.
*
- * @param null
- *
* @return void
*/
public function run() {
-
// get the field id
$this->_fid = CRM_Utils_Request::retrieve('fid', 'Positive',
$this, FALSE, 0
array(
'title' => ts('Price Fields'),
'url' => CRM_Utils_System::url('civicrm/admin/price/field', 'reset=1&sid=' . $this->_sid),
- )
+ ),
);
CRM_Utils_System::appendBreadCrumb($breadcrumb);
// Call the parents run method
return parent::run();
}
+
}