DocumentType class. More...

List of all members.

Public Member Functions

 getAdditionalFields ()
 Return Additional Fields for this type.
 getSearchOptions ()
 Get search function for the class.

Static Public Member Functions

static getTypeName ($nb=0)
 Return the localized name of the current Type Should be overloaded in each new class.
static getSpecificValueToDisplay ($field, $values, array $options=array())
static getSpecificValueToSelect ($field, $name='', $values='', array $options=array())
static canCreate ()
 Have I the right to "create" the Object.
static canView ()
 Have I the right to "view" the Object.

Detailed Description

DocumentType class.

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


Member Function Documentation

static canCreate ( ) [static]

Have I the right to "create" the Object.

MUST be overloaded for entity_dropdown

Returns:
booleen

Reimplemented from CommonDropdown.

Definition at line 140 of file documenttype.class.php.

References haveRight().

static canView ( ) [static]

Have I the right to "view" the Object.

MUST be overloaded for entity_dropdown

Returns:
booleen

Reimplemented from CommonDropdown.

Definition at line 145 of file documenttype.class.php.

References haveRight().

Return Additional Fields for this type.

Reimplemented from CommonDropdown.

Definition at line 41 of file documenttype.class.php.

References __().

Get search function for the class.

Returns:
array of search option

Reimplemented from CommonDropdown.

Definition at line 69 of file documenttype.class.php.

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

static getSpecificValueToDisplay ( field,
values,
array $  options = array() 
) [static]
Since:
version 0.84

Reimplemented from CommonDBTM.

Definition at line 101 of file documenttype.class.php.

References $CFG_GLPI, $field, $options, and $values.

static getSpecificValueToSelect ( field,
name = '',
values = '',
array $  options = array() 
) [static]
Since:
version 0.84
Parameters:
$field
$name(default '')
$values(default '')
$optionsarray

Reimplemented from CommonDBTM.

Definition at line 125 of file documenttype.class.php.

References $field, $name, $options, $values, and Dropdown\dropdownIcons().

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 59 of file documenttype.class.php.

References $nb, and _n().


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