Stud.IP  3.2 Revision
SinglePersonSearch Class Reference
Collaboration diagram for SinglePersonSearch:
Collaboration graph

Public Member Functions

 SinglePersonSearch ($name)
 
 render ()
 
 getSelectedUser ()
 
 setJSFunctionOnSubmit ($function_name)
 
 disableAutocomplete ()
 
 getJSFunctionOnSubmit ()
 
 setSearchObject ($searchType)
 
 getSearchObject ()
 
 clearSession ()
 

Static Public Member Functions

static load ($name)
 
static get ($name)
 

Static Public Attributes

static $importsAlreadyAdded = false
 

Member Function Documentation

◆ clearSession()

clearSession ( )

clears the session data.

Here is the call graph for this function:

◆ disableAutocomplete()

disableAutocomplete ( )

◆ get()

static get (   $name)
static

returns a SinglePersonSearch object.

Parameters
stringname of the object
Returns
SinglePersonSearch
Here is the call graph for this function:

◆ getJSFunctionOnSubmit()

getJSFunctionOnSubmit ( )

returns a JavaScript-function which should be fired when the user has pressed the submit button.

Returns
string function name

◆ getSearchObject()

getSearchObject ( )

returns the search object.

Returns
SearchType

◆ getSelectedUser()

getSelectedUser ( )

returns the last selected user.

Here is the call graph for this function:

◆ load()

static load (   $name)
static

restores a SinglePersonSearch object.

Parameters
stringname of the object
Returns
SinglePersonSearch
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render()

render ( )

renders a link to open the singlepersonsearch dialog.

◆ setJSFunctionOnSubmit()

setJSFunctionOnSubmit (   $function_name)

sets a JavaScript-function to be fired when the user has pressed the submit-button. Arguments are: function fireme(id_of_item, text_of_item) example setting: MPS->setJSFunctionOnSubmit('fireme');

Parameters
string$function_namethe name of the javascript function
Returns
SinglePersonSearch

◆ setSearchObject()

setSearchObject (   $searchType)

sets the search object.

Parameters
SearchTypeobject of type SearchType (e.g. SQLSearch.class.php)
Returns
SinglePersonSearch

◆ SinglePersonSearch()

SinglePersonSearch (   $name)

contsructs a new SinglePersonSearch object.

Parameters
stringname of the object and html ids
Here is the caller graph for this function:

Field Documentation

◆ $importsAlreadyAdded

$importsAlreadyAdded = false
static

The documentation for this class was generated from the following file: