| [ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TForm class file
| Author: | Qiang Xue <qiang.xue@gmail.com> |
| Copyright: | Copyright © 2005 PradoSoft |
| License: | http://www.pradosoft.com/license/ |
| Version: | $Id: TForm.php 1397 2006-09-07 07:55:53Z wei $ |
| Poids: | 146 lignes (4 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
TForm:: (10 méthodes):
onInit()
addAttributesToRender()
render()
getDefaultButton()
setDefaultButton()
getMethod()
setMethod()
getEnctype()
setEnctype()
getName()
| onInit($param) X-Ref |
| Registers the form with the page. param: mixed event parameter |
| addAttributesToRender($writer) X-Ref |
| Adds form specific attributes to renderer. param: THtmlWriter writer |
| render($writer) X-Ref |
| Renders the form. param: THtmlWriter writer |
| getDefaultButton() X-Ref |
return: string id path to the default button control. |
| setDefaultButton($value) X-Ref |
| Sets a button to be default one in a form. A default button will be clicked if a user presses 'Enter' key within the form. param: string id path to the default button control. |
| getMethod() X-Ref |
return: string form submission method. Defaults to 'post'. |
| setMethod($value) X-Ref |
param: string form submission method. Valid values include 'post' and 'get'. |
| getEnctype() X-Ref |
return: string the encoding type a browser uses to post data back to the server |
| setEnctype($value) X-Ref |
param: string the encoding type a browser uses to post data back to the server. |
| getName() X-Ref |
return: string form name, which is equal to {@link getUniqueID UniqueID}. |
| Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |