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 : Simple CheckBox

Tutorials

>

Tutorial Checkbox

>

Tutorial : Simple CheckBox


Checkbox-01: Tutorial of the composant Checkbox of the PHP FrameWork WebSite-PHP.

Tutorial : Simple CheckBox:



Go back to tutorial of the componant Checkbox



Source code

Source code


File: /pages/tutorials/checkbox/checkbox-01.php

<?php
class Checkbox01 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Simple CheckBox";
        
        
$this->render = new WSPObject();
        
$chk1 = new CheckBox($this);
        
$chk1->setText("My CheckBox")->setChecked();
        
$this->render->add($chk1);
    }
}
?>


Go back to tutorial of the componant Checkbox


Share

 


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