Static Protected Attributes |
| static | $instance = null |
Detailed Description
Singleton class for the admin search list. This is a singleton-class because the result set is dependend on the session.
Get the results dependend on the current session with AdminList::getInstance()->getSearchResults(); It also returns templates for a select-box or navigation-arrows with AdminList::getInstance()->getSelectTemplate() or AdminList::getInstance()->getTopLinkTemplate()
- Author
- Rasmus Fuhse fuhse.nosp@m.@dat.nosp@m.a-que.nosp@m.st.d.nosp@m.e
Constructor & Destructor Documentation
constructor that starts the first search for this instance
Member Function Documentation
| getSearchResults |
( |
|
$new_search = false | ) |
|
returns the search results of this instance
- Parameters
-
| bool | $new_search,: | if true a new search will be forced, default to false |
- Returns
- array of associative arrays (seminare.*, Institute.Name, startsem, endsem)
| getSelectTemplate |
( |
|
$course_id | ) |
|
returns a template for a selectbox with the current list of the adminsearch
- Parameters
-
| string | $course_id | : Seminar_id of the course that should be selected in the select-box |
- Returns
- Flexi_Template
| getTopLinkTemplate |
( |
|
$course_id | ) |
|
returns a template for "back" and "forward" links on top of admin-pages
- Parameters
-
- Returns
- Flexi_Template
Saves a search-result-set of seminars depending on the parameters of the session to the AdminList object.
Field Documentation
The documentation for this class was generated from the following file: