YAP  2.5
 All Data Structures Namespaces Files Functions Variables
CYap_Preset Class Reference
Inheritance diagram for CYap_Preset:
CYap_Control

Public Member Functions

 CYap_Preset ($TableFieldDef=array())
 
 ParseResponse ()
 
 Draw ($Show=true)
 
 IsHidden ()
 
- Public Member Functions inherited from CYap_Control
 CYap_control ($TableFieldDef=array())
 
 BindField ($FieldDef)
 
 SetValue ($value)
 
 SetControlName ($name)
 
 SetControlLabel ($name)
 
 SetCalBackFunc ($name)
 
 SetProperty ($Property, $value)
 
 ParseResponse ()
 
 _InternalCheck ()
 
 IsValid ()
 
 GetSqlData ()
 
 GetSqlFieldName ()
 
 GetInfo ($InfoName)
 
 GetHeaderCode ()
 
 HasValue ()
 
 GetValue ()
 
 GetJsCode ()
 
 GetJsSubmitFunction ()
 
 Draw ($Show=true)
 
 DrawLabel ($Show=true)
 
 IsHidden ()
 

Additional Inherited Members

- Data Fields inherited from CYap_Control
 $Name
 
 $DbField
 
 $DbFieldInfo
 
 $ValidIndex =array('autoincrement','values','table','type','apice','size','decimal','name')
 
 $FieldValue
 
 $IHaveValue
 
 $CallBackCheck
 
 $IsValidInput
 
 $Label
 

Detailed Description

Definition at line 521 of file CYap_Control.php.

Member Function Documentation

CYap_Preset (   $TableFieldDef = array())

Definition at line 524 of file CYap_Control.php.

Draw (   $Show = true)

Draw the TextBox

Parameters
boolShould the function echo the code, or return it as string public
Returns
string

Definition at line 546 of file CYap_Control.php.

IsHidden ( )

The hidden fields are fields expected not to be requested (never show) in modify form. The preset field, should never requested (they have the value from the configuration)

Returns
boolean public

Definition at line 565 of file CYap_Control.php.

ParseResponse ( )

Load the input value from form answer. It will never shown, so there is nothing to check from the response

public

Definition at line 535 of file CYap_Control.php.


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