You are here

function space::feature_access in Spaces 6.2

Same name and namespace in other branches
  1. 5.2 spaces.module \space::feature_access()
  2. 6 spaces.module \space::feature_access()

Method that provides a space-type specific check for whether the provided feature is accessible by the current user.

Parameters

$feature: The feature identifier string.

Return value

bool TRUE if the user has access to this feature. FALSE if not.

File

./spaces.module, line 404

Class

space
Interface for space objects.

Code

function feature_access($feature = NULL);