public deleteID ( integer $roleID, array $options = [] ) : boolean | ||
$roleID | integer | The ID of the role to delete. |
$options | array | An array of options to affect the behavior of the delete. - **newRoleID**: The new role to point users to. |
Résultat | boolean | Returns **true** on success or **false** otherwise. |
public function deleteID($roleID, $options = [])
{
$result = $this->deleteAndReplace($roleID, val('newRoleID', $options));
return $result;
}