<?
// Just to test all objects*********
//**********************************
include("lib.element.class.inc");
//************************** OLD TEST Sample.php Beginn (
$oMyForm=new CBasicForm("MyForm","");
$oTest=& new CTextCheck('Test','Checker',$oMyForm);
//$oMyForm->showHtml(); for debug
//CCheckBoxes($name,$arrLable,$strFormName,$strFormAction)**********
$arrcheckbox=array(0 => 'fr','me','de','sy','com','net','org','info','biz','travel','li','ly','ua');
$oMyCheckbox=&new CCheckBoxes("MyCeckBox[]",$arrcheckbox,$oMyForm);
$oMyCheckbox->setMainLBL("Check for All");
//$oMyCheckbox->showHtml(); for debug
//$oMyForm->showHtml(); for debug
echo "<br>";
$oTextFilde=& new CTextFildeCheck('Input','MyInput',$oMyForm);
echo "<br>";
//**********TETST**************
//$oRadioelem=&new CRadioElement("Radio","checkme",$oMyForm);
$arrRadio=array(0 => 'first Value',
'2 Value',
'3 Value',
'4 Value');
$oMyRadios=&new CRadioGroup('Radio',$arrRadio,$oMyForm,1);
//$oMyForm->showHtml(); // for debug
//$oMyRadios->showHtml(); // for debug
echo "<br>";
$arrcheckbox=array(0 => 'first Text like Name',
'2 Text like Familly Name',
'3 Text like phone');
$oMyTextGroup=& new CTextGroups("MyText[]",$arrcheckbox,$oMyForm);
$oMyForm->showHtml();
//$oMyTextGroup->showHtml(); //for debug
//***********************************************************/
// ******* OLD TEST sample.php END
//**********************************************************
?>
|