Stud.IP  5.4
VisibilityAbstract Class Reference
Inheritance diagram for VisibilityAbstract:
Visibility_Buddies Visibility_Domain Visibility_Extern Visibility_Me Visibility_Studip

Public Member Functions

 verify ($user_id, $other_id)
 
 isActivated ()
 
 getIntRepresentation ()
 
 getDisplayName ()
 
 getDescription ()
 

Protected Attributes

 $activated
 
 $int_representation
 
 $display_name
 
 $description
 

Detailed Description

Defines basic attributes and functions a visibilitySetting needs

Member Function Documentation

◆ getDescription()

getDescription ( )

Returns the description of a visibilitySetting

Returns
string description of the visibilitySetting

◆ getDisplayName()

getDisplayName ( )

Returns the displayname of a visibilitySetting

Returns
string the displayname

◆ getIntRepresentation()

getIntRepresentation ( )

Returns the int representation of the visibilitySetting in the database

Returns
int the visibilitySetting in the database

◆ isActivated()

isActivated ( )

Returns if a visibiltySetting is activated

Returns
boolean true if the visibilitySetting is activated

◆ verify()

verify (   $user_id,
  $other_id 
)
abstract

verify method to determine if 2 users satisfy the criteria

Parameters
string$user_idthe owner of the visibility
string$other_idthe user who gets checked if he can see the selected object

Field Documentation

◆ $activated

$activated
protected

◆ $description

$description
protected

◆ $display_name

$display_name
protected

◆ $int_representation

$int_representation
protected

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