/** * Draws the editor's toolbar * * @return string * */ protected function drawToolbar($toolbarFile) { $toolbar = new w3sToolbarHorizontal(); $toolbar->fromYml($toolbarFile); return $toolbar->renderToolbar(); }
/** * Draws the menu. * * @return string - The rendered menu * */ function drawMenu() { $toolbar = new w3sToolbarHorizontal($this->user); $toolbar->fromYml($this->toolbarFile); return sprintf($this->skeleton, $toolbar->renderToolbar()); }
/** * Draws the menu. * * @return string - The rendered menu * */ protected function drawPartialMenu() { $toolbar = new w3sToolbarHorizontal($this->user); $toolbar->fromYml($this->toolbarFile); return $toolbar->renderToolbar(); }