Elgg  Version 1.9
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 12 of file GroupItemVisibility.php.

Member Function Documentation

static Elgg_GroupItemVisibility::factory (   $container_guid,
  $use_cache = true 

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

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

Definition at line 38 of file GroupItemVisibility.php.

Member Data Documentation

Elgg_GroupItemVisibility::$reasonHidden = ''

Definition at line 26 of file GroupItemVisibility.php.

Elgg_GroupItemVisibility::$shouldHideItems = false

Definition at line 21 of file GroupItemVisibility.php.

const Elgg_GroupItemVisibility::REASON_LOGGED_OUT = 'logged_out'

Definition at line 15 of file GroupItemVisibility.php.

const Elgg_GroupItemVisibility::REASON_NO_ACCESS = 'no_access'

Definition at line 16 of file GroupItemVisibility.php.

const Elgg_GroupItemVisibility::REASON_NON_MEMBER = 'non_member'

Definition at line 14 of file GroupItemVisibility.php.

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