CORE POS - IS4C
The CORE POS front end
|
Public Member Functions | |
search ($str) | |
Public Attributes | |
$result_size = 15 | |
Base class for providing product search results
ProductSearch::search | ( | $str) |
Do the actual search
$str | a search string |
The return value is an array of product records. Each record should have the following keys: upc description normal_price scale The records can simply be query results or you can use some custom construction
The outer array should be of the form upc => record so returns from multiple searches can be merged together easily.
ProductSearch::$result_size = 15 |
Set how big the result box is (in rows)