Class RequestType. More...

List of all members.

Public Member Functions

 getAdditionalFields ()
 Return Additional Fields for this type.
 getSearchOptions ()
 Get search function for the class.
 post_addItem ()
 Actions done after the ADD of the item in the database.
 post_updateItem ($history=1)
 cleanDBonPurge ()
 Actions done when item is deleted from the database.

Static Public Member Functions

static getTypeName ($nb=0)
 Return the localized name of the current Type Should be overloaded in each new class.
static getDefault ($source)
 Get the default request type for a given source (mail, helpdesk)

Detailed Description

Class RequestType.

Definition at line 39 of file requesttype.class.php.


Member Function Documentation

Actions done when item is deleted from the database.

Returns:
nothing

Reimplemented from CommonDBTM.

Definition at line 152 of file requesttype.class.php.

References Rule\cleanForItemCriteria().

Return Additional Fields for this type.

Reimplemented from CommonDropdown.

Definition at line 47 of file requesttype.class.php.

References __().

static getDefault ( source) [static]

Get the default request type for a given source (mail, helpdesk)

Parameters:
$sourcestring
Returns:
requesttypes_id

Definition at line 138 of file requesttype.class.php.

References $DB.

Referenced by MailCollector\buildTicket(), TicketFollowup\post_getEmpty(), Ticket\prepareInputForAdd(), TicketFollowup\showApprobationForm(), TicketFollowup\showForm(), and TicketFollowup\showFormMassiveAction().

Get search function for the class.

Returns:
array of search option

Reimplemented from CommonDropdown.

Definition at line 58 of file requesttype.class.php.

References __(), and CommonDBTM\getTable().

static getTypeName ( nb = 0) [static]

Return the localized name of the current Type Should be overloaded in each new class.

Returns:
string

Reimplemented from CommonGLPI.

Definition at line 42 of file requesttype.class.php.

References $nb, and _n().

Actions done after the ADD of the item in the database.

Returns:
nothing

Reimplemented from CommonDBTM.

Definition at line 78 of file requesttype.class.php.

References $DB, and $query.

post_updateItem ( history = 1)
See also:
CommonDBTM::post_updateItem()

Reimplemented from CommonDBTM.

Definition at line 100 of file requesttype.class.php.

References $DB, $query, __(), and Session\addMessageAfterRedirect().


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