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 with Link

Tutoriels

>

Tutoriel Picture

>

Simple Picture with Link


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

Simple Picture with Link:

The Sacred Dog by cuellar


Retourner aux tutoriels du composants Picture



Code source

Code source


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

<?php
class Picture02 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Simple Picture with Link";
        
        
$pic = new Picture("img/slider/1-small.jpg");
        
$pic->setTitle("The Sacred Dog by cuellar");
        
        
$link_pic = new Link("http://www.flickr.com/
                photos/cuellar/2961728459/in/
                pool-creative_commons-_free_pictures"

                    
Link::TARGET_BLANK$pic);
        
        
$this->render $link_pic;
    }
}
?>


Retourner aux tutoriels du composants Picture


Share

 


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