Open Sencillo  2015.107
Long live the simplicity of PHP
 All Data Structures Namespaces Functions Pages
formCreator Class Reference

Public Member Functions

 create ($type, $params)
 
 getById ($id, $action="/", $method="post")
 
 groupToLines ($id, $tag=null, $params=null)
 

Protected Attributes

 $form =array()
 

Detailed Description

Definition at line 12 of file form.tool.framework.php.

Member Function Documentation

getById (   $id,
  $action = "/",
  $method = "post" 
)

Create form

Parameters
array$id(identification in the system)
Returns
string (if exist $id retruning html input tag)

Definition at line 79 of file form.tool.framework.php.

groupToLines (   $id,
  $tag = null,
  $params = null 
)

Create a new form line (no save)

Parameters
string$id
string$tag,=null
Returns
string

Definition at line 98 of file form.tool.framework.php.


The documentation for this class was generated from the following file: