This class can be used to generate class toolbars of multiple buttons that execute a Javascript code or link to given URLs.
The class lets you add buttons to the toolbar allowing the customization of presentation details such as caption text, text alignment, CSS style, icon images, icon placement, button width, layout orientation.
The toolbar class provides a simple, consistent mechanism to generate toolbars of buttons, either with simple button-type inputs, or with some funky, hacked-together table elements. When using the latter method, buttons can have icons on them, so your apps can look a little more like a desktop app.
Generate buttons to pay prefilled orders in Paypal
This class can be used to generate buttons that can be placed in Web pages to make it easier for clients to pay for pre-filled orders in Paypal.
It can build orders or one or more items. It may also associate values of taxes, postage and handling that need to be paid by the clients as part of the whole order when necessary.
The class generates a form with hidden fields that are used to pass the order details and a button that is presented in the Web pages to let the users push to submit the order to be paid in Paypal site.
The presentation details of the submit button are configurable using CSS styles and custom button images.
This class can be used to search for words and phrases in text fields of a MySQL database table.
It can generate a Web search form with an input field to enter the search text, a submit button and radio buttons to let the user tell whether the search should find records with all the words or at least one of them. The form text and presentation style is configurable with CSS.
The class can perform the search for the specified text with prior cleanup to avoid security exploits. The searched text is stored in a session variable so the user can be reminded of the last search.
The search can treat words separately or as phrases when the user encloses the words in double quotes.
The search results are returned in an array that contains a list of distinct records that matched the searched text.
The table name and the table fields to be searched and the fields to be returned as result of the search are configurable.