YAP
2.5
|
Public Member Functions | |
CYap_clsSearchDate ($cfg, $FieldName) | |
_Initialize () | |
LoadCfg ($cfg) | |
GetWhereCondition ($Db_Class) | |
ReadFormData () | |
parseDate ($date, $format) | |
& | 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 | |
$ShowFormat | |
$WhereFormat | |
![]() | |
$Type | |
$PaddingChar | |
$Padding | |
$UseRegex | |
$Label | |
$MyName | |
$DbField | |
$Size | |
$RequestValue | |
$ViewClass | |
$ViewObj | |
$DefaultValue | |
$FieldOrder | |
Definition at line 1485 of file CYap_clsSearch.php.
_Initialize | ( | ) |
Set the properties to the default value private
Definition at line 1505 of file CYap_clsSearch.php.
CYap_clsSearchDate | ( | $cfg, | |
$FieldName | |||
) |
Definition at line 1496 of file CYap_clsSearch.php.
& GetDrawObject | ( | ) |
Draw the field. public
Definition at line 1671 of file CYap_clsSearch.php.
GetWhereCondition | ( | $Db_Class | ) |
CYap_Db | $db_class |
Definition at line 1535 of file CYap_clsSearch.php.
LoadCfg | ( | $cfg | ) |
Parse and load the configuration parameters
string[] | $cfg public |
Definition at line 1519 of file CYap_clsSearch.php.
parseDate | ( | $date, | |
$format | |||
) |
Returns a formatted date from a string based on a given format (from PHP Manual) Supported formats
Y - year as a decimal number including the century m - month as a decimal number (range 1 to 12) d - day of the month as a decimal number (range 1 to 31)
H - hour as decimal number using a 24-hour clock (range 0 to 23) M - minute as decimal number s - second as decimal number u - microsec as decimal number
string | date string to convert to date |
string | format expected format of the original date |
Definition at line 1606 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 1564 of file CYap_clsSearch.php.
$ShowFormat |
Definition at line 1493 of file CYap_clsSearch.php.
$WhereFormat |
Definition at line 1494 of file CYap_clsSearch.php.