Returns whether or not the current user has the requested permission.
public hasPermission ( integer $perm ) : boolean | ||
$perm | integer | The permission to check. |
return | boolean | True if user has the permission. |
public hasPermission ( integer $perm ) : boolean | ||
$perm | integer | The permission to check. |
return | boolean | True if user has the permission. |