/** * Constructor. * * @param string The id of the menu * @param object A reference to current user * */ public function __construct($menuId, $user = null) { // Defines the skeleton /* $this->skeleton = '<a href="#" id="w3s_editor_opener" onclick="InteractiveMenu.openEditor();return false;"><div id="w3s_im_clone_element"></div></a> <div id="w3s_im_editor" style="display:none;"></div> <div id="w3s_im_slots" style="float:right;background-color: #FFF;color:#000;"><table>%s</table></div>'; */ $this->skeleton = '<a href="#" id="w3s_editor_opener" onclick="InteractiveMenu.openEditor();return false;"><div id="w3s_im_clone_element"></div></a> <div id="w3s_im_editor" style="display:none;"></div>'; parent::__construct($menuId, $user); }
/** * Constructor. * * @param string The id of the menu * @param string The toolbar file name * @param object A reference to current user * */ public function __construct($menuId, $toolbarFile, $user = null) { $this->toolbarFile = $toolbarFile; parent::__construct($menuId, $user); }