function space::feature_access in Spaces 5.2
Same name and namespace in other branches
- 6 spaces.module \space::feature_access()
- 6.2 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 267
Class
- space
- Interface for space objects.
Code
function feature_access($feature = NULL);