Class XoopsForm
Abstract base class for forms
Package: kernel\form
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Kazumi Ono onokazu@xoops.org
Author: Taiwen Jiang phppp@users.sourceforge.net
Located at lass/xoopsform/form.php
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Kazumi Ono onokazu@xoops.org
Author: Taiwen Jiang phppp@users.sourceforge.net
Located at lass/xoopsform/form.php
public
|
#
__construct( string $title, string $name, string $action, string $method = 'post', boolean $addtoken = false, string $summary = '' )
constructor |
public
|
|
public
string
|
#
getObjectID( $object, string $hashinfo = 'sha1' )
*#@+ retrieves object serialisation/identification id (sha1 used) |
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
|
#
addElement( string|
Add an element to the form |
public
|
|
public
array
|
|
public
object
&
|
|
public
|
|
public
|
|
public
string
|
#
getElementValue( string $name, boolean $encode = false )
Gets the "value" attribute of a form element |
public
array
|
|
public
|
|
public
|
|
public
string
&
|
|
public
|
|
public
array
&
|
|
public
|
|
public
|
|
public
|
|
public
string
|
#
renderValidationJS( boolean $withtags = true )
Renders the Javascript function needed for client-side for validation |
public
|
public
string
|
$_action
"action" attribute for the html form |
|
public
string
|
$_method
"method" attribute for the form. |
|
public
string
|
$_name
"name" attribute of the form |
|
public
string
|
$_title
title for the form |
|
public
string
|
$_summary
summary for the form (WGAC2 Requirement) |
#
''
|
public
array
|
$_elements
array of |
#
array()
|
public
array
|
$_extra
extra information for the < form> tag |
#
array()
|
public
array
|
$_required
required elements |
#
array()
|
public
string
|
$_objid
additional serialised object checksum (ERM Analysis - Requirement) |
#
'da39a3ee5e6b4b0d3255bfef95601890afd80709'
|