function autoassignrole_get_page in Auto Assign Role 7
Function to get role-specific page details.
Parameters
int $id: The id of the page to be updated.
Return value
SelectQuery A query object with all page details.
2 calls to autoassignrole_get_page()
- autoassignrole_page_delete_confirm in ./
autoassignrole.admin.inc - Function to delete role-specific page.
- autoassignrole_page_form in ./
autoassignrole.admin.inc - Implements hook_form().
File
- ./
autoassignrole.module, line 314 - The main autoassignrole.module file
Code
function autoassignrole_get_page($id) {
$query = _autoasignrole_get_page_query();
$query
->condition('rid_page_id', $id, '=');
return $query
->execute()
->fetchObject();
}