ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilUserAction Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilUserAction:

Public Member Functions

 setText (string $a_val)
 
 getText ()
 
 setHref (string $a_val)
 
 getHref ()
 
 setType (string $a_val)
 
 getType ()
 
 setData (array $a_val)
 
 getData ()
 

Protected Attributes

string $text = ""
 
string $href = ""
 
array $data = []
 
string $type = ""
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Action that can be performed on a user

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 23 of file class.ilUserAction.php.

Member Function Documentation

◆ getData()

ilUserAction::getData ( )
Returns
array array of key => value pairs which will be transformed to data-<key>="value" attributes of link

Definition at line 74 of file class.ilUserAction.php.

References $data.

Referenced by ilMyStaffGUI\addLinkWithActionData().

74  : array
75  {
76  return $this->data;
77  }
+ Here is the caller graph for this function:

◆ getHref()

ilUserAction::getHref ( )

Definition at line 48 of file class.ilUserAction.php.

References $href.

Referenced by ilMyStaffGUI\addLinkWithActionData().

48  : string
49  {
50  return $this->href;
51  }
+ Here is the caller graph for this function:

◆ getText()

ilUserAction::getText ( )

Definition at line 38 of file class.ilUserAction.php.

References $text.

Referenced by ilMyStaffGUI\addLinkWithActionData().

38  : string
39  {
40  return $this->text;
41  }
+ Here is the caller graph for this function:

◆ getType()

ilUserAction::getType ( )

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

References $type.

58  : string
59  {
60  return $this->type;
61  }

◆ setData()

ilUserAction::setData ( array  $a_val)
Parameters
array<string,string>$a_val array of key => value pairs which will be transformed to data-<key>="value" attributes of link)

Definition at line 66 of file class.ilUserAction.php.

66  : void
67  {
68  $this->data = $a_val;
69  }

◆ setHref()

ilUserAction::setHref ( string  $a_val)

Definition at line 43 of file class.ilUserAction.php.

43  : void
44  {
45  $this->href = $a_val;
46  }

◆ setText()

ilUserAction::setText ( string  $a_val)

Definition at line 33 of file class.ilUserAction.php.

33  : void
34  {
35  $this->text = $a_val;
36  }

◆ setType()

ilUserAction::setType ( string  $a_val)

Definition at line 53 of file class.ilUserAction.php.

53  : void
54  {
55  $this->type = $a_val;
56  }

Field Documentation

◆ $data

array ilUserAction::$data = []
protected

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

Referenced by getData().

◆ $href

string ilUserAction::$href = ""
protected

Definition at line 26 of file class.ilUserAction.php.

Referenced by getHref().

◆ $text

string ilUserAction::$text = ""
protected

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

Referenced by getText().

◆ $type

string ilUserAction::$type = ""
protected

Definition at line 31 of file class.ilUserAction.php.

Referenced by getType().


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