in $params['content_type'] the actual content-type to return
Hook Name : project_rdf_metadata
- Parameters : $params['prefixes'] : already used RDF prefixes in the form URL => shortname, $params['xml'] already returned xml bits
- Description: returns in $params['prefixes'] and $params['xml'] added prefixes and added bits of RDF+XML to be included in the project's DOAP description
+ Parameters : $params['prefixes'] : already used RDF prefixes in the form URL => shortname, $params['in_Resource'] : already constructed ARC2_Resource instances (read-only)
+ Description: returns in $params['prefixes'] added prefixes, and in the array $params['out_Resources'] new ARC2_Resources including new triples to be included in the project's DOAP description
Hook Name : role_adduser
Parameters : $params['user'] : user added to the role, $params['role'] : role added to the user
Locations : common/include/RBAC.php
Description: Called when a role is removed to an user.
+ Hook Name : alt_representations
+ Parameters : $params['script_name'] contains the SCRIPT_NAME (filtered to work only on /projects or /users for the moment)
+ Description: returns alternate representations for a particular page in $params['results'] which is populated by the hook users
+
TODO (nerville) : document display_hierarchy
TODO (lolando ?) : document role_normalize, role_translate_strings, role_has_permission, role_get_setting, list_roles_by_permission
TODO : document project_link_with_tooltip