Checkbox
Radio Button
Hyperlink
Image
Date Picker
Rich Text
Decorator Panel
Flow Panel
Dock Panel
Tab Panel
Source Formatter
Upload files
 
License
Team
Google Code
Example
Source Code
CSS Style
Choose a section:
Checkbox
Radio Button
Basic Button
Custom Button
File Upload
Date Picker
<?php 
include_once 'phpmoko/ui/HTML.php';
include_once 
'phpmoko/ui/Hyperlink.php';
include_once 
'phpmoko/ui/VerticalPanel.php';

class 
ModuleDemo implements WebModule
{
  function 
getWidget()
  {
    
$vPanel = new VerticalPanel();
    
    
$vPanel->add(new HTML('<b>Choose a section:</b>'));
    
$vPanel->setSpacing(5);
    
    
// Add a hyper link to each section in the Widgets category
    
$allConstants = array('Checkbox', 'Radio Button', 'Basic Button',
      
'Custom Button', 'File Upload', 'Date Picker');
    
$allUrls = array('demos-checkbox.html', 'demos-radiobutton.html',
      
'Basic Button', 'Custom Button', 'File Upload', 'Date Picker');
    
    for (
$i = 0; $i < sizeof($allConstants); $i++)
      
$vPanel->add(new Hyperlink($allConstants[$i], $allUrls[$i]));
    
    return 
$vPanel;
  }
}
?>
.pmk-Hyperlink {
}