YAP
2.5
|
Public Member Functions | |
CYap_clsSearchRegexOpt ($cfg, $FieldName) | |
_Initialize () | |
LoadCfg ($cfg) | |
GetWhereCondition ($Db_Class) | |
ReadFormData () | |
& | GetDrawObject () |
StoreInformation ($prefix) | |
LoadInformation ($prefix) | |
CleanSessionInfo ($prefix) | |
![]() | |
CYap_clsSearchTxt ($cfg, $FieldName) | |
GetWhereCondition ($db_class) | |
var_padding ($size, $padding, $paddingchar, $text) | |
& | GetDrawObject () |
![]() | |
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 | |
Definition at line 1030 of file CYap_clsSearch.php.
_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
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
string[] | $cfg public |
Definition at line 1055 of file CYap_clsSearch.php.
LoadInformation | ( | $prefix | ) |
Load the field value from session.
string | $prefix | public |
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.
string | $prefix | public |
Definition at line 1134 of file CYap_clsSearch.php.
$RegexValue |
Definition at line 1033 of file CYap_clsSearch.php.