Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Add $data parameter to deleteList #59

Merged
merged 1 commit into from
Mar 3, 2015

Conversation

TomHAnderson
Copy link
Contributor

This PR is one of a set. All PRs for this set listed here:

#59
zfcampus/zf-content-negotiation#29
zendframework/zendframework#7140

Together these PRs will add support for deleteList($data) where it was deleteList()

This PR will be the tracker for the set.

zendframework/zendframework#7140
does not need to be merged for this PR to work. However, revisiting this in the ancestor is a good idea.

zfcampus/zf-content-negotiation#29
may be merged safely.

#59
uses an optional $data argument and may be merged safely. Override for onDispatch for delete without an id is included.

@TomHAnderson TomHAnderson changed the title Add $data parameter to deleteList [wip] Add $data parameter to deleteList Jan 20, 2015
if ($id !== false) {
$return = parent::onDispatch($e);
break;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could have this do a continue instead; that should drop to the default target of the switch statement.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code isn't in a loop. think i got it

@TomHAnderson TomHAnderson changed the title [wip] Add $data parameter to deleteList Add $data parameter to deleteList Jan 20, 2015
@TomHAnderson
Copy link
Contributor Author

This PR and zfcampus/zf-content-negotiation#29 are ready for merge.

@TomHAnderson
Copy link
Contributor Author

zendframework/zendframework#7140 is also ready for merge.

@ezimuel ezimuel merged commit 0c9b73b into zfcampus:master Mar 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants