PHP Classes
elePHPant
Icontem

Dynamic form class lib: Generate HTML forms

Recommend this page to a friend!
  Info   View files View files (30)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-02-18 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,981 All time: 1,923 This week: 1,099Up
Version License Categories
dyna_form 1.0GNU General Publi...HTML
Description Author

This package can be used to generate HTML forms.

There is a based form input class and several classes that wrap each type of common form inputs: button, checkbox, file, hidden, password, radio, select, submit and textarea.

There is also an abstract form manager class and a few implementation classes that can render the form inputs with a simple layout or a table based layout.

Picture of Rafat Katta
Name: Rafat Katta <contact>
Classes: 2 packages by
Country: Germany Germany

Details
<?xml version="1.0" encoding="windows-1256"?>
<!DOCTYPE class_Structur
[
  <!ELEMENT class_struct (#PCDATA)>
  <!ENTITY EXT "extends">
  <!ENTITY Struct "Class Structur">
]
>
<struct>
<!-- "this is a Class Library to make Dynamik Forms with to many Form Elements.

It use Call by Reference form make a Form.!--><!-- Verstion 0.9" !-->
<!-- Attenction sample.php ve some example for use them, i try to make more objects at next -->
<!-- to use them just include the file named lib.element.class.inc -->
<CAbsForm> is an Abstract Basic Form Class for later Implementation.
<CBasicForm> extends CAbsForm: Basic Form as Implementation for CAbsForm you can use it.
<CSTblForm> extends CBasicForm: Table formated Form but stile simple.</CSTblForm>
<CTblForm> extends CBasicForm</CTblForm></CBasicForm>
<CAbsFormElement> extends CAbsForm: Abstract Class for make Forms.
<CInputElement> extends CAbsFormElement</CInputElement>
<CTextAreaElement> extends CAbsFormElement</CTextAreaElement>
<CTextElement> extends CAbsFormElement</CTextElement>
<CSubmitElement> extends CAbsFormElement</CSubmitElement>
<CSelectElement> extends CAbsFormElement</CSelectElement>
<CResetElement> extends CAbsFormElement</CResetElement>
<CRadioElement> extends CAbsFormElement</CRadioElement>
<CPasswdElement> extends CAbsFormElement</CPasswdElement>
<CImageElement> extends CAbsFormElement</CImageElement>
<CHiddenElement> extends CAbsFormElement</CHiddenElement>
<CFileElement> extends CAbsFormElement</CFileElement>
<CCheckBoxElement> extends CAbsFormElement</CCheckBoxElement>
<CButtonElement> extends CAbsFormElement</CButtonElement>
<!-- some Complex Elements or Multi Objects -->
<CCheckBoxes> extends CAbsFormElement have Array of CheckBox with Java Script for Check All</CCheckBoxes>
<CHidenGroup> extends CAbsFormElement Array of Hiden elements for Data Transfer</CHidenGroup>
<CTextGroups> extends CAbsFormElement Array of Text Inputs for Data</CTextGroups>
<CTextCheck> extends CAbsFormElement a Text.element with submit button to use in search !!!</CTextCheck>
<CTextFildeCheck> extends CAbsFormElement a Text Area with submit button as one element to send massage</CTextFildeCheck>
<CRadioGroup> extends CAbsFormElement Array of Radio Buttons like Radio Gruops</CRadioGroup>
<login>extends CAbsFormElement creat login interface username+password+submit(login)</login>
</CAbsFormElement>
</CAbsForm>

</struct>
  Files folder image Files  
File Role Description
Plain text file abs.form.class.inc Class Abstract Form Class
Plain text file abs.formelement.class.inc Class Abstract Form Element
Plain text file basicform.class.inc Class Basic Form Class extends Abs..
Plain text file button.element.class.inc Class a Button Element
Plain text file checkbox.element.class.inc Class Check Box Element
Plain text file checkboxes.class.inc Class Check Box Array with Javascript for Check All
Plain text file file.element.class.inc Class File Element Class
Plain text file hidden.element.class.inc Class a Hidden Element
Plain text file hidengroup.class.inc Class Hiden_elements in array
Plain text file image.element.class.inc Class Image Button Element
Plain text file input.element.class.inc Class Input Element
Accessible without login Plain text file lib.element.class.inc Aux. inclued file for all codes
Plain text file login.class.inc Class class for login interface
Plain text file passwd.element.class.inc Class Password Element
Plain text file radio.element.class.inc Class Radio Button Element
Plain text file radiogroups.class.inc Class Radio Buttons Group in Array
Accessible without login Plain text file Readme.xml Data in work !
Accessible without login Plain text file read_me Data readme file
Plain text file reset.element.class.inc Class Reset Button Element
Accessible without login Plain text file sample.php Example Example for use it
Accessible without login Plain text file sample2.php Example example to use complex class elements
Plain text file select.element.class.inc Class Select Element
Plain text file simpletableformatdeform.class.inc Class A Simple Form
Plain text file submit.element.class.inc Class Submit Button Element
Plain text file tableformatdeform.class.inc Class A form in Table Format
Plain text file text.element.class.inc Class Text Element
Plain text file textarea.element.class.inc Class Text Area Element
Plain text file textcheck.class.inc Class Text with Submit Button in one element
Plain text file textfildecheck.class.inc Class Text Area with Submit Button as one element for Massages
Plain text file textgroups.class.inc Class Text input Array in form as one element

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,981
This week:0
All time:1,923
This week:1,099Up