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

Class: CYap_Preset

Source Location: /CYap_Control.php

Class CYap_Preset

Class Overview

Preset input object. This object obtains its value

from the configuration file and don't ask to the user its value (it is never be shown)

Located in /CYap_Control.php [line 372]

CYap_Control
   |
   --CYap_Preset

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_Preset   CYap_Preset()  
string   Draw()   Draw the TextBox
boolean   IsHidden()   The hidden fields are fields expected not to be requested (never show) in modify form.
void   ParseResponse()   Load the input value from form answer. It will never shown, so there is nothing to check from the response

[ Top ]
Methods
Constructor CYap_Preset  [line 375]

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



[ Top ]
Draw  [line 397]

  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 ]
IsHidden  [line 416]

  boolean 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)


API Tags:
Access:  public


Redefinition of:
CYap_Control::IsHidden()
The hidden fields are fields expected not to be requested (never show) in modify form.

[ Top ]
ParseResponse  [line 386]

  void ParseResponse( )

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


API Tags:
Access:  public


Redefinition of:
CYap_Control::ParseResponse()
Load the input value from form answer

[ Top ]

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