Elgg  Version 3.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Elgg\GroupItemVisibility Class Reference

Public Member Functions

 __construct ()
 Added for deprecated notice. More...
 

Static Public Member Functions

static factory ($container_guid, $use_cache=true)
 Determine visibility of items within a container for the current user. More...
 

Public Attributes

const REASON_NON_MEMBER = 'non_member'
 
const REASON_LOGGED_OUT = 'logged_out'
 
const REASON_NO_ACCESS = 'no_access'
 
 $shouldHideItems = false
 
 $reasonHidden = ''
 

Detailed Description

Definition at line 15 of file GroupItemVisibility.php.

Constructor & Destructor Documentation

Elgg\GroupItemVisibility::__construct ( )

Added for deprecated notice.

Returns
void

Definition at line 36 of file GroupItemVisibility.php.

Member Function Documentation

static Elgg\GroupItemVisibility::factory (   $container_guid,
  $use_cache = true 
)
static

Determine visibility of items within a container for the current user.

Parameters
int$container_guidGUID of a container (may/may not be a group)
bool$use_cacheUse the cached result of
Returns

Definition at line 50 of file GroupItemVisibility.php.

Member Data Documentation

Elgg\GroupItemVisibility::$reasonHidden = ''

Definition at line 29 of file GroupItemVisibility.php.

Elgg\GroupItemVisibility::$shouldHideItems = false

Definition at line 24 of file GroupItemVisibility.php.

const Elgg\GroupItemVisibility::REASON_LOGGED_OUT = 'logged_out'

Definition at line 18 of file GroupItemVisibility.php.

const Elgg\GroupItemVisibility::REASON_NO_ACCESS = 'no_access'

Definition at line 19 of file GroupItemVisibility.php.

const Elgg\GroupItemVisibility::REASON_NON_MEMBER = 'non_member'

Definition at line 17 of file GroupItemVisibility.php.


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