searchTool.md - norbertsackey/ash-sweb-2016-group14 GitHub Wiki
#LAB Inventory: Group 12 - searchTool.
##About This page enables the user to search for a tool based on either the equipment id, equipment name, equipment description, equipment status, equipment category, equipment price or equipment manufacturer. The searchTool page enables the user to search for a tool, making use of even the least knowledge the user has of the tool being searched. This can be done in two simple steps.
How to search for a tool
- Open the search page
- Enter text that you would like to search for.
How does the searchTool page work?
The searchTool page makes use of two methods:
- getTools($filter=false) - This method queries the database for all the tools.
- searchTool($text=false) - Once the database has been queried for all the existing tools,this method searches the for a tool, based on the filter, specified by the user in the form of text in the search box.
Additional Information
This functionality can be used by both the administrator and students who would like to search for a tool in the lab. It is not limited to one type of user.