8000 [Form] [FormView] Added $state to setRendered function by Bup3 · Pull Request #8128 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] [FormView] Added $state to setRendered function #8128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Added state to setRendered function
  • Loading branch information
Bup3 committed May 24, 2013
commit 7dab943fc6e4c15c5dc72d9bcebabd9f5aa65f0b
6 changes: 4 additions & 2 deletions src/Symfony/Component/Form/FormView.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,13 @@ public function isRendered()
/**
* Marks the view as rendered.
*
* @param bool $state
*
* @return FormView The view object.
*/
public function setRendered()
public function setRendered($state = true)
{
$this->rendered = true;
$this->rendered = $state;

return $this;
}
Expand Down
0