ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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)
 

Data Fields

const IL_STATUS_INFO = 'object_status'
 

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 44 of file class.ilAccessInfo.php.

45  {
46  $this->info_items = array();
47  }

Member Function Documentation

◆ addInfoItem()

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

add an info item

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

References $a_type.

58  {
59  $this->info_items[] = array(
60  "type" => $a_type,
61  "text" => $a_text,
62  "data" => $a_data
63  );
64  }
$a_type
Definition: workflow.php:92

◆ clear()

ilAccessInfo::clear ( )

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

50  {
51  $this->info_items = array();
52  }

◆ getInfoItems()

ilAccessInfo::getInfoItems ( )

get all info items

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

70  {
71  return $this->info_items;
72  }

◆ setQueryData()

ilAccessInfo::setQueryData (   $a_result)

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

75  {
76  $this->query = array(
77  "ref_id" => $a_result[1],
78  "permission" => $a_result[2],
79  "cmd" => $a_result[3],
80  "user_id" => $a_result[4]
81  );
82  $this->result = $a_result[0];
83  }

Field Documentation

◆ IL_STATUS_INFO

const ilAccessInfo::IL_STATUS_INFO = 'object_status'

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