Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getWidgets()
- {
- $userPrivilegesModel = Users_Privileges_Model::getCurrentUserPrivilegesModel();
- $widgetLinks = parent::getWidgets();
- $widgets = array();
- $widgets[] = array(
- 'linktype' => 'DETAILVIEWWIDGET',
- 'linklabel' => 'LBL_GRAFICO_FIDO',
- 'linkName' => 'GraficoFido',
- 'linkurl' => 'module=Accounts&view=Detail&record='.$this->getRecord()->getId().'&mode=showGraficoFido',
- 'action' => array(),
- 'actionURL' => ''
- );
- foreach ($widgets as $widgetDetails) {
- $widgetLinks[] = Vtiger_Link_Model::getInstanceFromValues($widgetDetails);
- }
- return $widgetLinks;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement