WebSite-PHP Framework PHP
Multi language
Simple Ajax mode
No HTML, no JavaScript
URL rewriting
Mail sending
Sitemap - RSS - Web service
Download WebSite-PHP FrameWork now
 


Loading
 


Tutorial : Multiline SelectList

Tutorials

>

Tutorial Selectlist

>

Tutorial : Multiline SelectList


Selectlist-02: Tutorial of the composant Selectlist of the PHP FrameWork WebSite-PHP.

Tutorial : Multiline SelectList:




Go back to tutorial of the componant Selectlist



Source code

Source code


File: /pages/tutorials/selectlist/selectlist-02.php

<?php
class Selectlist02 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Multiline SelectList";
        
        
$this->render = new SelectList($this);
        
$this->render->setNbLines(6);
        
$this->render->addItem("value 1""value 1");
        
$this->render->addItem("value 2""value 2");
        
$this->render->addItem("value 3""value 3");
        
$this->render->addItem("value 4""value 4");
        
$this->render->addItem("value 5""value 5");
        
$this->render->addItem("value 6""value 6");
        
$this->render = new WSPObject($this->render"<br/>");
    }
}
?>


Go back to tutorial of the componant Selectlist


Share

 


Copyright © 2009-2024 WebSite-PHP Framework PHP
Home Documentation Download Quick start Tutorials Wiki Issue Tracker