return NULL;
}
+ /**
+ * @inheritDoc
+ * @return string
+ */
+ public function getIcon() {
+ return 'crm-i fa-star-o';
+ }
+
/**
* @inheritDoc
* @return null
);
}
+ /**
+ * @inheritDoc
+ * @return string
+ */
+ public function getIcon() {
+ return 'crm-i fa-folder-open-o';
+ }
+
/**
* @inheritDoc
* @return array
'url' => '#contact-summary',
'title' => ts('Summary'),
'weight' => 0,
+ 'icon' => 'crm-i fa-address-card-o'
],
[
'id' => 'activity',
'title' => ts('Activities'),
'class' => 'livePage',
'weight' => 70,
+ 'icon' => 'crm-i fa-tasks',
],
[
'id' => 'rel',
'title' => ts('Relationships'),
'class' => 'livePage',
'weight' => 80,
+ 'icon' => 'crm-i fa-handshake-o',
],
[
'id' => 'group',
'title' => ts('Groups'),
'class' => 'ajaxForm',
'weight' => 90,
+ 'icon' => 'crm-i fa-users',
],
[
'id' => 'note',
'title' => ts('Notes'),
'class' => 'livePage',
'weight' => 100,
+ 'icon' => 'crm-i fa-sticky-note-o',
],
[
'id' => 'tag',
'title' => ts('Tags'),
'weight' => 110,
+ 'icon' => 'crm-i fa-tags',
],
[
'id' => 'log',
'title' => ts('Change Log'),
'weight' => 120,
+ 'icon' => 'crm-i fa-history',
],
];
}
'weight' => $elem['weight'],
'count' => CRM_Contact_BAO_Contact::getCountComponent($u, $this->_contactId),
'class' => 'livePage',
+ 'icon' => $component->getIcon(),
];
}
}
'count' => CRM_Contact_BAO_Contact::getCountComponent($id, $this->_contactId, $group['table_name']),
'hideCount' => !$group['is_multiple'],
'class' => 'livePage',
+ 'icon' => 'crm-i fa-gear',
];
$weight += 10;
}
);
}
+ /**
+ * @inheritDoc
+ * @return string
+ */
+ public function getIcon() {
+ return 'crm-i fa-credit-card';
+ }
+
/**
* @inheritDoc
* Provides information about advanced search pane
*/
abstract public function registerTab();
+ /**
+ * Get icon font class representing this component.
+ *
+ * @return string
+ */
+ public function getIcon() {
+ return 'crm-i fa-puzzle-piece';
+ }
+
/**
* Provides information about advanced search pane
* offered by this component.
);
}
+ /**
+ * @inheritDoc
+ * @return string
+ */
+ public function getIcon() {
+ return 'crm-i fa-calendar';
+ }
+
/**
* @inheritDoc
* @return array
);
}
+ /**
+ * @inheritDoc
+ * @return string
+ */
+ public function getIcon() {
+ return 'crm-i fa-money';
+ }
+
/**
* @inheritDoc
* @return array
);
}
+ /**
+ * @inheritDoc
+ * @return string
+ */
+ public function getIcon() {
+ return 'crm-i fa-envelope-o';
+ }
+
/**
* @inheritDoc
* @return array
);
}
+ /**
+ * @inheritDoc
+ * @return string
+ */
+ public function getIcon() {
+ return 'crm-i fa-id-badge';
+ }
+
/**
* @inheritDoc
* Provides information about advanced search pane
);
}
+ /**
+ * @inheritDoc
+ * @return string
+ */
+ public function getIcon() {
+ return 'crm-i fa-paper-plane';
+ }
+
/**
* @inheritDoc
* Provides information about advanced search pane
return NULL;
}
+ /**
+ * @inheritDoc
+ * @return string
+ */
+ public function getIcon() {
+ return 'crm-i fa-table';
+ }
+
/**
* @inheritDoc
* Provides information about advanced search pane
{foreach from=$allTabs key=tabName item=tabValue}
<li id="tab_{$tabValue.id}" class="crm-tab-button ui-corner-all crm-count-{$tabValue.count}{if isset($tabValue.class)} {$tabValue.class}{/if}">
<a href="{$tabValue.url}" title="{$tabValue.title|escape}">
+ <i class="{if $tabValue.icon}{$tabValue.icon}{else}crm-i fa-puzzle-piece{/if}"></i>
{$tabValue.title}
{if empty($tabValue.hideCount)}<em>{$tabValue.count}</em>{/if}
</a>