ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilUserAction Class Reference

Action that can be performed on a user. More...

+ Collaboration diagram for ilUserAction:

Public Member Functions

 setText ($a_val)
 Set text. More...
 
 getText ()
 Get text. More...
 
 setHref ($a_val)
 Set href. More...
 
 getHref ()
 Get href. More...
 
 setType ($a_val)
 Set type. More...
 
 getType ()
 Get type. More...
 
 setData ($a_val)
 Set data attributes. More...
 
 getData ()
 Get data attributes. More...
 

Protected Attributes

 $text
 
 $href
 
 $data
 
 $type
 

Detailed Description

Action that can be performed on a user.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

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

Member Function Documentation

◆ getData()

ilUserAction::getData ( )

Get data attributes.

Returns
array array of key => value pairs which will be transformed to data-<key>="value" attributes of link

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

References $data.

95  {
96  return $this->data;
97  }

◆ getHref()

ilUserAction::getHref ( )

Get href.

Returns
string href

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

References $href.

55  {
56  return $this->href;
57  }

◆ getText()

ilUserAction::getText ( )

Get text.

Returns
string text

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

References $text.

35  {
36  return $this->text;
37  }

◆ getType()

ilUserAction::getType ( )

Get type.

Returns
string

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

References $type.

75  {
76  return $this->type;
77  }

◆ setData()

ilUserAction::setData (   $a_val)

Set data attributes.

Parameters
array$a_valarray of key => value pairs which will be transformed to data-<key>="value" attributes of link)

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

References data.

85  {
86  $this->data = $a_val;
87  }
Add some data

◆ setHref()

ilUserAction::setHref (   $a_val)

Set href.

Parameters
string$a_valhref

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

45  {
46  $this->href = $a_val;
47  }

◆ setText()

ilUserAction::setText (   $a_val)

Set text.

Parameters
string$a_valtext

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

25  {
26  $this->text = $a_val;
27  }

◆ setType()

ilUserAction::setType (   $a_val)

Set type.

Parameters
string$a_valtype

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

65  {
66  $this->type = $a_val;
67  }

Field Documentation

◆ $data

ilUserAction::$data
protected

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

Referenced by getData().

◆ $href

ilUserAction::$href
protected

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

Referenced by getHref().

◆ $text

ilUserAction::$text
protected

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

Referenced by getText().

◆ $type

ilUserAction::$type
protected

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

Referenced by getType().


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