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

Public Member Functions

 CYap_ViewDate ($TableFieldDef=array())
 
 SetProperty ($Property, $value)
 
 Draw ($Show=true)
 
 GetJsCode ()
 
- 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

 $ShowFormat
 
 $JsFormat
 
- 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 612 of file CYap_Control.php.

Member Function Documentation

CYap_ViewDate (   $TableFieldDef = array())

Date format used to ask the date

Definition at line 622 of file CYap_Control.php.

Draw (   $Show = true)

Draw the TextBox This module require to add the following rows to the head section <link rel="stylesheet" href="dhtmlgoodies_calendar/dhtmlgoodies_calendar.css" media="screen"></LINK> <SCRIPT type="text/javascript" src="dhtmlgoodies_calendar/dhtmlgoodies_calendar.js"></script>

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

Definition at line 682 of file CYap_Control.php.

GetJsCode ( )

Definition at line 695 of file CYap_Control.php.

SetProperty (   $Property,
  $value 
)

Generic function to set the paramters without create many set function as the property declared by each control

Parameters
Propertystring
Valuemixed public

Definition at line 636 of file CYap_Control.php.

Field Documentation

$JsFormat

Definition at line 620 of file CYap_Control.php.

$ShowFormat

Definition at line 619 of file CYap_Control.php.


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