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

Public Member Functions

 CYap_SelectBox ($TableFieldDef=array())
 
 SetChoices ($tblChoices=array())
 
 Draw ($Show=true)
 
- 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 ()
 

Data Fields

 $Choices
 
- 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 461 of file CYap_Control.php.

Member Function Documentation

CYap_SelectBox (   $TableFieldDef = array())

Definition at line 468 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 490 of file CYap_Control.php.

SetChoices (   $tblChoices = array())

Set the choices to show into the select box

Parameters
arraypublic

Definition at line 479 of file CYap_Control.php.

Field Documentation

$Choices

Definition at line 467 of file CYap_Control.php.


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