$params['buttonBottom'] = 'PagerBottomButton';
}
//end of function
- function &getColHeads($action = NULL, $output = NULL) {
+ function &getColHeads($action = NULL, $output = NULL) {
$colHeads = self::_getColumnHeaders();
-
$colHeads[] = array('desc' => ts('Actions'), 'name' => ts('Action'));
return $colHeads;
}
'address_options', TRUE, NULL, TRUE
);
- self::$_columnHeaders = array('contact_type' => array('desc' => ts('Contact Type')),
+ self::$_columnHeaders = array(
+ 'contact_type' => array('desc' => ts('Contact Type')),
'sort_name' => array(
'name' => ts('Name'),
'sort' => 'sort_name',
),
);
- $defaultAddress = array('street_address' => array('name' => ts('Address')),
- 'city' => array('name' => ts('City'),
+ $defaultAddress = array(
+ 'street_address' => array('name' => ts('Address')),
+ 'city' => array(
+ 'name' => ts('City'),
'sort' => 'city',
'direction' => CRM_Utils_Sort::DONTCARE,
),
- 'state_province' => array('name' => ts('State'),
+ 'state_province' => array(
+ 'name' => ts('State'),
'sort' => 'state_province',
'direction' => CRM_Utils_Sort::DONTCARE,
),
- 'postal_code' => array('name' => ts('Postal'),
+ 'postal_code' => array(
+ 'name' => ts('Postal'),
'sort' => 'postal_code',
'direction' => CRM_Utils_Sort::DONTCARE,
),
- 'country' => array('name' => ts('Country'),
+ 'country' => array(
+ 'name' => ts('Country'),
'sort' => 'country',
'direction' => CRM_Utils_Sort::DONTCARE,
),
}
}
- self::$_columnHeaders['email'] = array('name' => ts('Email'),
+ self::$_columnHeaders['email'] = array(
+ 'name' => ts('Email'),
'sort' => 'email',
'direction' => CRM_Utils_Sort::DONTCARE,
);