PHP Class Prado\Web\UI\TForm
TForm displays an HTML form. Besides regular body content,
it displays hidden fields, javascript blocks and files that are registered
through {@link TClientScriptManager}.
A TForm is required for a page that needs postback.
Each page can contain at most one TForm. If multiple HTML forms are needed,
please use regular HTML form tags for those forms that post to different
URLs.
显示文件
Open project: pradosoft/prado
Public Methods
Protected Methods
Method Details
addAttributesToRender()
protected method
Adds form specific attributes to renderer.
getEnctype()
public method
getMethod()
public method
public getName ( ) : string |
return |
string |
form name, which is equal to {@link getUniqueID UniqueID}. |
Registers the form with the page.
setEnctype()
public method
setMethod()
public method