Functions
There are three functions that you can use to display data. All of the
functions take one optional parameter (string template). If you do not
supply a parameter the default template will be used (that you specify in
awsoapclientconfig.inc.php). If you wish to specify a different template,
pass the FULL PATH of the template to the function eg,
awshowproduct('/sites/mysite/templates/products.html');
The three functions are:
Function name |
Description |
Parameters |
awtoplevelcategories |
Displays the top level categories in your dataset;
useful for providing a static navigation area. |
string template
- optional - overrides default template set up using install |
awsearchform |
Displays the searchform for your dataset. |
string template
- optional - overrides default template set up using install |
awshowproducts |
Displays either the products in a category (using the
browse template) or the search results if a search was made (using the
search template). |
string template
- optional - overrides default template set up using install |
|