Moodle  2.2.1
http://www.collinsharper.com
restore_category_search Class Reference
Inheritance diagram for restore_category_search:
Collaboration diagram for restore_category_search:

Public Member Functions

 __construct (array $config=array())
 get_varsearch ()

Static Public Attributes

static $VAR_SEARCH = 'catsearch'

Protected Member Functions

 get_searchsql ()
 get_itemcontextlevel ()
 format_results ()

Detailed Description

A category search component

Definition at line 282 of file restore_ui_components.php.


Constructor & Destructor Documentation

__construct ( array config = array())

Constructor

Parameters:
array$configConfig options

Reimplemented from restore_search_base.

Definition at line 286 of file restore_ui_components.php.

Here is the call graph for this function:


Member Function Documentation

format_results ( ) [protected]

Formats the results

Reimplemented from restore_search_base.

Definition at line 312 of file restore_ui_components.php.

get_itemcontextlevel ( ) [protected]

Gets the context level associated with this components items

Returns:
CONTEXT_*

Reimplemented from restore_search_base.

Definition at line 309 of file restore_ui_components.php.

get_searchsql ( ) [protected]

moodle_database $DB

Reimplemented from restore_search_base.

Definition at line 294 of file restore_ui_components.php.

Here is the call graph for this function:

Gets the string used to transfer the search string for this compontents requests

Returns:
string

Reimplemented from restore_search_base.

Definition at line 313 of file restore_ui_components.php.


Field Documentation

$VAR_SEARCH = 'catsearch' [static]

Reimplemented from restore_search_base.

Definition at line 284 of file restore_ui_components.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations