Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
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 ( )

Returns the description of a visibilitySetting

Returns
string description of the visibilitySetting
getDisplayName ( )

Returns the displayname of a visibilitySetting

Returns
string the displayname
getIntRepresentation ( )

Returns the int representation of the visibilitySetting in the database

Returns
int the visibilitySetting in the database
isActivated ( )

Returns if a visibiltySetting is activated

Returns
boolean true if the visibilitySetting is activated
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
protected
$description
protected
$display_name
protected
$int_representation
protected

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