Search area category.
More...
|
| __construct (string $name, string $visiblename, int $order=0, array $areas=[]) |
| Constructor.
|
|
| get_areas () |
| Return a keyed by area id list of areas for this category.
|
|
| get_name () |
| Get name.
|
|
| get_order () |
| Get order to display.
|
|
| get_visiblename () |
| Get visible name.
|
|
| set_areas (array $areas) |
| Set list of search areas for this category,.
|
|
◆ __construct()
core_search\area_category::__construct |
( |
string | $name, |
|
|
string | $visiblename, |
|
|
int | $order = 0, |
|
|
array | $areas = [] ) |
Constructor.
- Parameters
-
string | $name | Unique name of the category. |
string | $visiblename | Visible name of the category. |
int | $order | Category position in the list (smaller numbers will be displayed first). |
core_search\base[] | $areas | A list of search areas associated with this category. |
◆ get_areas()
core_search\area_category::get_areas |
( |
| ) |
|
Return a keyed by area id list of areas for this category.
- Return values
-
◆ get_name()
core_search\area_category::get_name |
( |
| ) |
|
◆ get_order()
core_search\area_category::get_order |
( |
| ) |
|
Get order to display.
- Return values
-
◆ get_visiblename()
core_search\area_category::get_visiblename |
( |
| ) |
|
Get visible name.
- Return values
-
◆ set_areas()
core_search\area_category::set_areas |
( |
array | $areas | ) |
|
Set list of search areas for this category,.
- Parameters
-
The documentation for this class was generated from the following file:
- search/classes/area_category.php