ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilWebLinkBaseParameter Class Reference

Base class for parameters attached to Web Link items. More...

+ Inheritance diagram for ilWebLinkBaseParameter:
+ Collaboration diagram for ilWebLinkBaseParameter:

Public Member Functions

 __construct (int $value, string $name)
 
 getValue ()
 
 getName ()
 

Data Fields

const string UNDEFINED_NAME = 'undefined'
 
const string USER_ID_NAME = 'user_id'
 
const string LOGIN_NAME = 'login'
 
const string MATRICULATION_NAME = 'matriculation'
 
const array VALUES
 TODO Once the GUI is updated, undefined can be dropped. More...
 
const array VALUES_TEXT
 Keys of the language variables to the possible values, e.g. More...
 

Protected Attributes

int $value
 
string $name
 

Detailed Description

Base class for parameters attached to Web Link items.

Author
Tim Schmitz schmi.nosp@m.tz@l.nosp@m.eifos.nosp@m..de

Definition at line 25 of file class.ilWebLinkBaseParameter.php.

Constructor & Destructor Documentation

◆ __construct()

ilWebLinkBaseParameter::__construct ( int  $value,
string  $name 
)

Definition at line 56 of file class.ilWebLinkBaseParameter.php.

References $name, and $value.

57  {
58  $this->value = $value;
59  $this->name = $name;
60  }

Member Function Documentation

◆ getName()

ilWebLinkBaseParameter::getName ( )

Definition at line 67 of file class.ilWebLinkBaseParameter.php.

References $name.

Referenced by ilWebLinkParameter\appendToLink(), ilWebLinkParameter\getInfo(), ilWebLinkParameter\toXML(), and ilWebLinkDraftParameter\validate().

67  : string
68  {
69  return $this->name;
70  }
+ Here is the caller graph for this function:

◆ getValue()

ilWebLinkBaseParameter::getValue ( )

Field Documentation

◆ $name

string ilWebLinkBaseParameter::$name
protected

Definition at line 54 of file class.ilWebLinkBaseParameter.php.

Referenced by __construct(), and getName().

◆ $value

int ilWebLinkBaseParameter::$value
protected

◆ LOGIN_NAME

const string ilWebLinkBaseParameter::LOGIN_NAME = 'login'

Definition at line 29 of file class.ilWebLinkBaseParameter.php.

◆ MATRICULATION_NAME

const string ilWebLinkBaseParameter::MATRICULATION_NAME = 'matriculation'

Definition at line 30 of file class.ilWebLinkBaseParameter.php.

◆ UNDEFINED_NAME

const string ilWebLinkBaseParameter::UNDEFINED_NAME = 'undefined'

Definition at line 27 of file class.ilWebLinkBaseParameter.php.

◆ USER_ID_NAME

const string ilWebLinkBaseParameter::USER_ID_NAME = 'user_id'

Definition at line 28 of file class.ilWebLinkBaseParameter.php.

◆ VALUES

◆ VALUES_TEXT

const array ilWebLinkBaseParameter::VALUES_TEXT
Initial value:
= [
self::VALUES[self::UNDEFINED_NAME] => 'links_select_one'

Keys of the language variables to the possible values, e.g.

to fill a select input.

Definition at line 46 of file class.ilWebLinkBaseParameter.php.

Referenced by ilWebResourceEditableLinkTableGUI\fillRow(), and ilObjLinkResourceGUI\initFormLink().


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