Home
PHP
Application
Php Manual
Pictures
GuestBook
 
 
  Introduction Dlog Aprint SpTpl 
  Yap Xml2Array

 

 

 
 
 
Doc Index Methods Events
Db Conn Search box Show
Edit Param Misc Classes
Api  

CYap_clsSearchDate

Date input box. It shows a text input box and the calendar where pick the required date.
The class allows to set the date format on the form and the format used to build the where statement.

NOTE: it requires dhtmlgoodies calendar library from www.dhtmlgoodies.com.

CYap_clsSearchRangeTxt

The class allows the user to insert the minimum and maximum value to look for. The user has two box (the min and max value), he may fill both, one, or never fill them. If only one input text is filled, Yap assumes equals the minimum and the maximum value. If it is not filled, the filter on the specified field will be not applied.

CYap_clsSearchRegexOpt

The class allows the user to choose whether look for the exact text written in the input text box, or use that text as pattern. Of course apply the pattern is slower than look for the exact text.

CYap_clsSearchSelectBox

The class show the select box with the available options to choose from.
The configuration parameters tell to the class which the text show as option and which value return for each option.
The class recognizes two reserved words ALL (return all rows) and NOFILTER (do not apply any filter on this field). Both values have the same effect, no condition will be added on the database column set for this class.

CYap_clsSearchTxt

Default input text. It shows the box where the user write the text to look for on the provided database.

 

Copyright © 2003-2008 Darvin Andrioli, last change 23/01/2007