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 : Button with form

Tutorials

>

Tutorial Button

>

Tutorial : Button with form


Button-03: Tutorial of the composant Button of the PHP FrameWork WebSite-PHP.

Tutorial : Button with form:



Go back to tutorial of the componant Button



Source code

Source code


File: /pages/tutorials/button/button-03.php

<?php
class Button03 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Button with form";
        
        
$form = new Form($this);
        
        
$button = new Button($form);
        
$button->setValue("Validate");
        
        
$form->setContent($button);
        
$this->render $form;
    }
}
?>


Go back to tutorial of the componant Button


Share

 


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