Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Static Public Member Functions | Public Attributes | List of all members
Elgg\GroupItemVisibility Class Reference

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 13 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 39 of file GroupItemVisibility.php.

Member Data Documentation

Elgg\GroupItemVisibility::$reasonHidden = ''

Definition at line 27 of file GroupItemVisibility.php.

Elgg\GroupItemVisibility::$shouldHideItems = false

Definition at line 22 of file GroupItemVisibility.php.

const Elgg\GroupItemVisibility::REASON_LOGGED_OUT = 'logged_out'

Definition at line 16 of file GroupItemVisibility.php.

const Elgg\GroupItemVisibility::REASON_NO_ACCESS = 'no_access'

Definition at line 17 of file GroupItemVisibility.php.

const Elgg\GroupItemVisibility::REASON_NON_MEMBER = 'non_member'

Definition at line 15 of file GroupItemVisibility.php.


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