YAP  2.5
 All Data Structures Namespaces Files Functions Variables
CYap_clsSearchRegexOpt Class Reference
Inheritance diagram for CYap_clsSearchRegexOpt:
CYap_clsSearchTxt CYap_clsSearchField

Public Member Functions

 CYap_clsSearchRegexOpt ($cfg, $FieldName)
 
 _Initialize ()
 
 LoadCfg ($cfg)
 
 GetWhereCondition ($Db_Class)
 
 ReadFormData ()
 
GetDrawObject ()
 
 StoreInformation ($prefix)
 
 LoadInformation ($prefix)
 
 CleanSessionInfo ($prefix)
 
- Public Member Functions inherited from CYap_clsSearchTxt
 CYap_clsSearchTxt ($cfg, $FieldName)
 
 GetWhereCondition ($db_class)
 
 var_padding ($size, $padding, $paddingchar, $text)
 
GetDrawObject ()
 
- Public Member Functions inherited from CYap_clsSearchField
 CYap_clsSearchField ($cfg, $FieldName)
 
 GetParameter ($paramName, $cfg, $default)
 
 _Initialize ()
 
 LoadCFg ($cfg)
 
 SetDefaultValue ($value)
 
 SetLabel ($value)
 
 SetProperty ($Property, $value)
 
 GetProperty ($Property)
 
 GetWhereCondition ($db_class)
 
 GetValue ()
 
 StoreInformation ($prefix)
 
 LoadInformation ($prefix)
 
 CleanSessionInfo ($prefix)
 
 ReadFormData ()
 
 JsSearchFieldValidate ()
 
GetDrawObject ()
 
 _MakeViewObj ()
 

Data Fields

 $RegexValue
 

Detailed Description

Definition at line 1030 of file CYap_clsSearch.php.

Member Function Documentation

_Initialize ( )

Set the properties to the default value private

Definition at line 1043 of file CYap_clsSearch.php.

CleanSessionInfo (   $prefix)

Definition at line 1159 of file CYap_clsSearch.php.

CYap_clsSearchRegexOpt (   $cfg,
  $FieldName 
)

Definition at line 1034 of file CYap_clsSearch.php.

& GetDrawObject ( )

Draw the field. public

Returns
CYap_Control object

Definition at line 1118 of file CYap_clsSearch.php.

GetWhereCondition (   $Db_Class)

Definition at line 1065 of file CYap_clsSearch.php.

LoadCfg (   $cfg)

Parse and load the configuration parameters

Parameters
string[]$cfg public
Returns
void

Definition at line 1055 of file CYap_clsSearch.php.

LoadInformation (   $prefix)

Load the field value from session.

See Also
StoreInformation
Parameters
string$prefixpublic
Returns
void

Definition at line 1146 of file CYap_clsSearch.php.

ReadFormData ( )

Read data from search form. Each field retrieves its own value. If the value is not found, the default value is assumed.

Note: when checked, the checkbox means 'exact macth' so it doesn't need the regular expression therefore RegexValue=0 On the contrary, if the checkbox is not set, the partial match is given.

Definition at line 1096 of file CYap_clsSearch.php.

StoreInformation (   $prefix)

All other info are retrievd from cfg file. Only the value posted from the form needs to be saved.

Parameters
string$prefixpublic
Returns
void

Definition at line 1134 of file CYap_clsSearch.php.

Field Documentation

$RegexValue

Definition at line 1033 of file CYap_clsSearch.php.


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