RoleModel::deleteID PHP 메소드

deleteID() 공개 메소드

Delete a role.
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.
리턴 boolean Returns **true** on success or **false** otherwise.
    public function deleteID($roleID, $options = [])
    {
        $result = $this->deleteAndReplace($roleID, val('newRoleID', $options));
        return $result;
    }