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

Class: CYap_TextBox

Source Location: /CYap_Control.php

Class CYap_TextBox

Class Overview

Generic text box class

Located in /CYap_Control.php [line 282]

CYap_Control
   |
   --CYap_TextBox

Methods

[ Top ]
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 ]
Method Summary
CYap_TextBox   CYap_TextBox()  
string   Draw()   Draw the TextBox

[ Top ]
Methods
Constructor CYap_TextBox  [line 285]

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



[ Top ]
Draw  [line 297]

  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 ]

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