ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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.

74 : array
75 {
76 return $this->data;
77 }

References $data.

Referenced by ilMyStaffGUI\addLinkWithActionData().

+ Here is the caller graph for this function:

◆ getHref()

ilUserAction::getHref ( )

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

48 : string
49 {
50 return $this->href;
51 }

References $href.

Referenced by ilMyStaffGUI\addLinkWithActionData().

+ Here is the caller graph for this function:

◆ getText()

ilUserAction::getText ( )

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

38 : string
39 {
40 return $this->text;
41 }

References $text.

Referenced by ilMyStaffGUI\addLinkWithActionData().

+ Here is the caller graph for this function:

◆ getType()

ilUserAction::getType ( )

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

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

References $type.

◆ 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: