Checks if the current user has the requested permissions on this
address book.
public hasPermission ( integer $perm ) : boolean | ||
$perm | integer | The permission to check for. |
return | boolean | True if the user has permission, otherwise false. |
/** * Returns whether or not the current user has the requested permission. * * @param integer $perm The permission to check. * * @return boolean True if user has the permission. */ public function hasPermission($perm) { return $this->driver->hasPermission($perm); }