ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilAccessInfo Class Reference

class ilAccessInfo More...

+ Collaboration diagram for ilAccessInfo:

Public Member Functions

 __construct ()
 
 clear ()
 
 addInfoItem ($a_type, $a_text, $a_data="")
 add an info item More...
 
 getInfoItems ()
 get all info items More...
 
 setQueryData ($a_result)
 

Detailed Description

class ilAccessInfo

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

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

Constructor & Destructor Documentation

◆ __construct()

ilAccessInfo::__construct ( )

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

References array.

42  {
43  $this->info_items = array();
44  }
Create styles array
The data for the language used.

Member Function Documentation

◆ addInfoItem()

ilAccessInfo::addInfoItem (   $a_type,
  $a_text,
  $a_data = "" 
)

add an info item

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

References $a_type, and array.

55  {
56  $this->info_items[] = array(
57  "type" => $a_type,
58  "text" => $a_text,
59  "data" => $a_data
60  );
61  }
$a_type
Definition: workflow.php:93
Create styles array
The data for the language used.

◆ clear()

ilAccessInfo::clear ( )

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

References array.

47  {
48  $this->info_items = array();
49  }
Create styles array
The data for the language used.

◆ getInfoItems()

ilAccessInfo::getInfoItems ( )

get all info items

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

67  {
68  return $this->info_items;
69  }

◆ setQueryData()

ilAccessInfo::setQueryData (   $a_result)

Definition at line 71 of file class.ilAccessInfo.php.

References array.

72  {
73  $this->query = array(
74  "ref_id" => $a_result[1],
75  "permission" => $a_result[2],
76  "cmd" => $a_result[3],
77  "user_id" => $a_result[4]
78  );
79  $this->result = $a_result[0];
80  }
Create styles array
The data for the language used.

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