function autoassignrole_path in Auto Assign Role 6.2
Same name and namespace in other branches
- 6 autoassignrole-path.inc \autoassignrole_path()
2 string references to 'autoassignrole_path'
- autoassignrole_get_active_path_rid in ./
autoassignrole.module - Returns the role id of the currently active AAR-path.
- autoassignrole_menu in ./
autoassignrole.module - Implementation of hook_menu().
File
- ./
autoassignrole-path.inc, line 13
Code
function autoassignrole_path($rid) {
$page = db_fetch_object(db_query("SELECT description, format FROM {autoassignrole_page} WHERE rid = %d", $rid));
$output = check_markup($page->description, $page->format, FALSE);
$output .= drupal_get_form('user_register');
return $output;
}