function user_restrictions_load in User restrictions 7
Loads the restriction rule from the database.
Parameters
$urid: The ID of the restriction rule.
File
- ./
user_restrictions.module, line 209 - Specifies rules for restricting the data users can set for their accounts.
Code
function user_restrictions_load($urid) {
return UserRestrictions::getInstance($urid);
}