Autocompleter Class Reference
Provides pointers to results from the backend, base on search input.
More...
Public Member Functions |
| __construct (array $table_information) |
| query ($search_term, array $tables=array()) |
| Since we might have another backend later on, I'm making $tables optional.
|
Static Public Member Functions |
static | from_manifests () |
| Alternative constructor, based on information retrieved in manifests.
|
Detailed Description
Provides pointers to results from the backend, base on search input.
Constructor & Destructor Documentation
Autocompleter::__construct |
( |
array $ |
table_information |
) |
|
Member Function Documentation
static Autocompleter::from_manifests |
( |
|
) |
[static] |
Alternative constructor, based on information retrieved in manifests.
This makes loading relevant data easy as pie, and still having the implementation (
- See also:
- query()) independant of external parts (well, almost -- the ORM is still a hard dependency).
- Returns:
- Autocompleter
Autocompleter::query |
( |
$ |
search_term, |
|
|
array $ |
tables = array() | |
|
) |
| | |
Since we might have another backend later on, I'm making $tables optional.
- Parameters:
-
| $search_term | string |
| $tables | array = array() |
- Exceptions:
-
- Returns:
- array
The documentation for this class was generated from the following file: