function space_type::access_space in Spaces 6.3
Same name and namespace in other branches
- 7.3 plugins/space_type.inc \space_type::access_space()
- 7 plugins/space_type.inc \space_type::access_space()
Grant a user access to anything in this space. This method can be used to deny access to any page where this space is active.
Parameters
$account: Optional: user account object to check against. If omitted, the global $user object (current user) will be used.
Return value
TRUE if access should be granted. FALSE if not.
1 call to space_type::access_space()
- space_og::access_space in spaces_og/
plugins/ space_og.inc - Override of access_space().
1 method overrides space_type::access_space()
- space_og::access_space in spaces_og/
plugins/ space_og.inc - Override of access_space().
File
- plugins/
space_type.inc, line 65
Class
- space_type
- Common functionality for space types that implement access, routing, delegated Views filtering and feature management concepts. Examples: spaces_og, spaces_user, spaces_taxonomy.
Code
function access_space($account = NULL) {
return TRUE;
}