*
* @return string Classname of BAO.
*/
- function getBAOName() {
+ public function getBAOName() {
return 'CRM_Core_BAO_LabelFormat';
}
*
* @return array (reference) of action links
*/
- function &links() {
+ public function &links() {
if (!(self::$_links)) {
// helper variable for nicer formatting
self::$_links = array(
*
* @return string Classname of edit form.
*/
- function editForm() {
+ public function editForm() {
return 'CRM_Admin_Form_LabelFormats';
}
*
* @return string name of this page.
*/
- function editName() {
+ public function editName() {
return 'Mailing Label Formats';
}
*
* @return string user context.
*/
- function userContext($mode = NULL) {
+ public function userContext($mode = NULL) {
return 'civicrm/admin/labelFormats';
}
* @param null $action
*
* @return void
- * @access public
* @static
*/
- function browse($action = NULL) {
+ public function browse($action = NULL) {
// Get list of configured Label Formats
- $labelFormatList= CRM_Core_BAO_LabelFormat::getList();
- $nameFormatList= CRM_Core_BAO_LabelFormat::getList(false, 'name_badge');
+ $labelFormatList = CRM_Core_BAO_LabelFormat::getList();
+ $nameFormatList = CRM_Core_BAO_LabelFormat::getList(FALSE, 'name_badge');
// Add action links to each of the Label Formats
foreach ($labelFormatList as & $format) {
$this->assign('rows', $labelFormatList);
}
}
-