|
YAP
2.5
|
Public Member Functions | |
| CYap_clsSearchRangeTxt ($cfg, $FieldName) | |
| _Initialize () | |
| LoadCfg ($cfg) | |
| GetWhereCondition ($Db_Class) | |
| var_padding ($size, $padding, $paddingchar, $text) | |
| ReadFormData () | |
| GetValueTo () | |
| SetDefaultValueTo ($value) | |
| StoreInformation ($prefix) | |
| LoadInformation ($prefix) | |
| CleanSessionInfo ($prefix) | |
| & | 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 | |
| $RequestValueTo | |
| $DefaultValueTo | |
Data Fields inherited from CYap_clsSearchField | |
| $Type | |
| $PaddingChar | |
| $Padding | |
| $UseRegex | |
| $Label | |
| $MyName | |
| $DbField | |
| $Size | |
| $RequestValue | |
| $ViewClass | |
| $ViewObj | |
| $DefaultValue | |
| $FieldOrder | |
Definition at line 1265 of file CYap_clsSearch.php.
| _Initialize | ( | ) |
Set the properties to the default value private
Definition at line 1293 of file CYap_clsSearch.php.
| CleanSessionInfo | ( | $prefix | ) |
Definition at line 1461 of file CYap_clsSearch.php.
| CYap_clsSearchRangeTxt | ( | $cfg, | |
| $FieldName | |||
| ) |
Definition at line 1281 of file CYap_clsSearch.php.
| & GetDrawObject | ( | ) |
Draw the field. public
Definition at line 1472 of file CYap_clsSearch.php.
| GetValueTo | ( | ) |
Return the field value. It may be the data read from the form, if any, or the default value
Definition at line 1409 of file CYap_clsSearch.php.
| GetWhereCondition | ( | $Db_Class | ) |
| CYap_Db | $db_class |
Definition at line 1320 of file CYap_clsSearch.php.
| LoadCfg | ( | $cfg | ) |
Parse and load the configuration parameters
| string[] | $cfg public |
Definition at line 1306 of file CYap_clsSearch.php.
| LoadInformation | ( | $prefix | ) |
Load the field value from session.
| string | $prefix | public |
Definition at line 1448 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.
Definition at line 1379 of file CYap_clsSearch.php.
| SetDefaultValueTo | ( | $value | ) |
Set the default value. Used the value from $_REQUEST is null It set the variable CYap_clsSearchField::DefaultValue
| string | $value | public |
Definition at line 1424 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 1436 of file CYap_clsSearch.php.
| var_padding | ( | $size, | |
| $padding, | |||
| $paddingchar, | |||
| $text | |||
| ) |
Pad the given field to match the requested size
| integer | the output size |
| string | type of pad (none,left,right,center) |
| string | char to use to pad |
| string | input text |
Definition at line 1354 of file CYap_clsSearch.php.
| $DefaultValueTo |
Definition at line 1279 of file CYap_clsSearch.php.
| $RequestValueTo |
Definition at line 1278 of file CYap_clsSearch.php.