<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
'pledge_status',
'pledge_is_test',
'pledge_contribution_page_id',
- 'pledge_contribution_type',
+ 'pledge_financial_type',
'pledge_campaign_id',
'pledge_currency',
);
* @access public
*
*/
- static function &links($hideOption, $key = NULL) {
+ static function &links() {
+ $args = func_get_args();
+ $hideOption = CRM_Utils_Array::value(0, $args);
+ $key = CRM_Utils_Array::value(1, $args);
+
$extraParams = ($key) ? "&key={$key}" : NULL;
$cancelExtra = ts('Cancelling this pledge will also cancel any scheduled (and not completed) pledge payments.') . ' ' . ts('This action cannot be undone.') . ' ' . ts('Do you want to continue?');
'id' => $result->pledge_id,
'cid' => $result->contact_id,
'cxt' => $this->_context,
- )
+ ),
+ ts('more'),
+ FALSE,
+ 'pledge.selector.row',
+ 'Pledge',
+ $result->pledge_id
);
),
array(
'name' => ts('Pledged For'),
- 'sort' => 'pledge_contribution_type',
+ 'sort' => 'pledge_financial_type',
'direction' => CRM_Utils_Sort::DONTCARE,
),
array(