WebSite-PHP Framework PHP
Mehrsprachig
Einfacher Ajax Modus
Kein HTML, kein JavaScript
URL Rewriting
Mails senden
Sitemap - RSS - Web service
Laden Sie WebSite-PHP FrameWork jetzt herunter
 


Loading
 


Tutorial : Table with 
prededined style

Tutorials

>

Tutorial Table

>

Tutorial : Table with prededined style


Table-06: Tutorial der Komponente Table vom PHP FrameWork WebSite-PHP.

Tutorial : Table with prededined style:

Name Login Email
Toto toto toto@toto.com
Tata tata tata@tata.com
Titi titi titi@titi.com
Aaaa aaaa aaaa@aaaa.com
Zzzz zzzz zzzz@zzzz.com


Zurück zum Tutorial der Komponente Table



Quelltext

Quelltext


Datei: /pages/tutorials/table/table-06.php

<?php
class Table06 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Table with 
                                prededined style"
;
        
        
$this->render = new Table();
        
$this->render->setWidth(400);
        
$this->render->setClass(Table::STYLE_MAIN);
        
        
$header $this->render->addRowColumns("Name""Login""Email");
        
$header->setHeaderClass(Table::STYLE_MAIN);
        
        
$this->render->addRowColumns("Toto""toto""toto@toto.com");
        
$this->render->addRowColumns("Tata""tata""tata@tata.com");
        
$this->render->addRowColumns("Titi""titi""titi@titi.com");
        
$this->render->addRowColumns("Aaaa""aaaa""aaaa@aaaa.com");
        
$this->render->addRowColumns("Zzzz""zzzz""zzzz@zzzz.com");
    }
}
?>


Zurück zum Tutorial der Komponente Table


Share

 


Copyright © 2009-2024 WebSite-PHP Framework PHP
Start Dokumentation Herunterladen Schnellstart Tutorials Wiki Issue Tracker