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
 


Simple Picture

Tutoriels

>

Tutoriel Picture

>

Simple Picture


Picture-01: Tutoriel du composants Picture du FrameWork PHP WebSite-PHP.

Simple Picture:

The Sacred Dog by cuellar Eilean Donan Castle by yashima In The Blue by sharkbait


Retourner aux tutoriels du composants Picture



Code source

Code source


Fichier: /pages/tutorials/picture/picture-01.php

<?php
class Picture01 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Simple Picture";
        
        
$table = new Table();
        
        
$pic1 = new Picture("img/slider/1-small.jpg");
        
$pic1->setTitle("The Sacred Dog by cuellar");
        
        
$pic2 = new Picture("img/slider/2-small.jpg");
        
$pic2->setTitle("Eilean Donan Castle by yashima");
        
        
$pic3 = new Picture("img/slider/3-small.jpg");
        
$pic3->setTitle("In The Blue by sharkbait");
        
        
$table->addRowColumns($pic1$pic2$pic3);
        
        
$this->render $table;
    }
}
?>


Retourner aux tutoriels du composants Picture


Share

 


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