WebSite-PHP Framework PHP
Multi langues
Mode Ajax simple
Aucun HTML, aucun JavaScript
URL rewrinting
Envoi d'email
Sitemap - RSS - Web service
Télécharger le Framework WebSite-PHP maintenant
 


Loading
 


Tutorial : Dock menu

Tutoriels

>

Tutoriel Menu

>

Tutorial : Dock menu


Menu-04: Tutoriel du composants Menu du FrameWork PHP WebSite-PHP.

Tutorial : Dock menu:

Accueil Documentation Télécharger Quick start Tutoriels Wiki Issue Tracker


Retourner aux tutoriels du composants Menu



Code source

Code source


Fichier: /pages/tutorials/menu/menu-04.php

<?php
class Menu04 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Dock menu";
        
        
$dock = new DockMenu("dock_menu_4"DockMenu::DOCK_ALIGN_NONE);
        
$dock->setLabelsColor("#FFFFFF");
        
$dock->addDockMenuItem(new DockMenuItem("img/logo_128x128.png"__(HOME_LINK)));
        
$dock->addDockMenuItem(new DockMenuItem("img/doc_dock.png"__(DOCUMENTATION_LINK)));
        
$dock->addDockMenuItem(new DockMenuItem("img/download_dock.png"__(DOWNLOAD_LINK)));
        
$dock->addDockMenuItem(new DockMenuItem("img/quickstart_dock.png"__(QUICKSTART_LINK)));
        
$dock->addDockMenuItem(new DockMenuItem("img/tutorials_dock.png"__(TUTORIALS_LINK)));
        
$dock->addDockMenuItem(new DockMenuItem("img/wiki_dock.png"__(WIKI_LINK)));
        
$dock->addDockMenuItem(new DockMenuItem("img/bug_dock.png"__(ISSUE_TRACKER_LINK)));
                                    
        
$this->render $dock;
    }
}
?>


Retourner aux tutoriels du composants Menu


Share

 


Copyright © 2009-2016 WebSite-PHP Framework PHP
Accueil Documentation Télécharger Quick start Tutoriels Wiki Issue Tracker