grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026tabs = $tabs; $this->current_key = $current_key; $this->jscallback = $jscallback; } /** * @deprecated deprecated since version 7.6, PHP4 Style Constructors are deprecated and will be remove in 7.8, please update your code, use __construct instead */ public function SugarWidgetTabs(&$tabs, $current_key, $jscallback) { $deprecatedMessage = 'PHP4 Style Constructors are deprecated and will be remove in 7.8, please update your code'; if (isset($GLOBALS['log'])) { $GLOBALS['log']->deprecated($deprecatedMessage); } else { trigger_error($deprecatedMessage, E_USER_DEPRECATED); } self::__construct($tabs, $current_key, $jscallback); } public function display() { $template = new Sugar_Smarty(); $template->assign('subpanel_tabs', $this->tabs); $template->assign('subpanel_tabs_count', count($this->tabs)); $template->assign('jscallback', $this->jscallback); $template->assign('subpanel_current_key', $this->current_key); return $template->display('include/tabs.tpl'); } }