phpDocumentor CYap
[ Back ] [ class tree: CYap ] [ index: CYap ] [ all elements ]

Class: CYap_SelectBox

Source Location: /CYap_Control.php

Class CYap_SelectBox

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From CYap_Control

CYap_Control::$CallBackCheck
CYap_Control::$DbField
CYap_Control::$DbFieldInfo
CYap_Control::$FieldValue
CYap_Control::$IHaveValue
CYap_Control::$IsValidInput
CYap_Control::$Name
CYap_Control::$ValidIndex

Inherited From CYap_Control

CYap_Control::BindField()
Store the information about the field binded to this control
CYap_Control::CYap_control()
Class constructor
CYap_Control::Draw()
Draw the control
CYap_Control::GetInfo()
return the value of the index $InfoName of $this->DbFieldInfo
CYap_Control::GetJsCode()
Return the Js code reuired by the control
CYap_Control::GetJsSubmitFunction()
Return the JS code required to write the function to check the form before submit it
CYap_Control::GetSqlData()
Retrieve the value in the format suitable to build an update SQL query
CYap_Control::GetSqlFieldName()
Retrieve the value in the format suitable to build an update SQL query
CYap_Control::GetValue()
CYap_Control::HasValue()
Has been set the control's value?
CYap_Control::IsHidden()
The hidden fields are fields expected not to be requested (never show) in modify form.
CYap_Control::IsValid()
The current value is valid?
CYap_Control::ParseResponse()
Load the input value from form answer
CYap_Control::SetCalBackFunc()
Set tha callback function to check the input value
CYap_Control::SetControlName()
set the name for the control
CYap_Control::SetValue()
Set the current value for the field
CYap_Control::_InternalCheck()
Internal function to check the input value. Each control may develop som intrisic cchecks

[ Top ]
Property Summary
array   $Choices   Array of all choices available

[ Top ]
Method Summary
CYap_SelectBox   CYap_SelectBox()  
string   Draw()   Draw the TextBox
void   SetChoices()   Set the choices to show into the select box

[ Top ]
Properties
array   $Choices [line 320]

Array of all choices available


[ Top ]
Methods
Constructor CYap_SelectBox  [line 321]

  CYap_SelectBox CYap_SelectBox( [mixed $TableFieldDef = array()]  )



[ Top ]
Draw  [line 343]

  string Draw( [bool $Show = true]  )

Draw the TextBox

Parameters:
bool   $Show:  Should the function echo the code, or return it as string

API Tags:
Access:  public


Redefinition of:
CYap_Control::Draw()
Draw the control

[ Top ]
SetChoices  [line 332]

  void SetChoices( [array $tblChoices = array()]  )

Set the choices to show into the select box

Parameters:
array   $tblChoices: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Sat, 26 Feb 2005 14:09:59 +0100 by phpDocumentor 1.3.0RC3