Skip to content
This repository

Fix overloaded property access in Forms page of User Guide #330

Closed
wants to merge 1 commit into from

2 participants

Adam Lundrigan Matthew Weier O'Phinney

Showing 1 unique commit by 1 author.

Sep 30, 2012
Adam Lundrigan adamlundrigan Fix overloaded property access in Forms page of User Guide 52f4a72
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  docs/languages/en/user-guide/forms-and-actions.rst
2  docs/languages/en/user-guide/forms-and-actions.rst
Source Rendered
@@ -225,7 +225,7 @@ Let’s look at the ``addAction()`` code in a little more detail:
225 225 .. code-block:: php
226 226
227 227 $form = new AlbumForm();
228   - $form->submit->setValue('Add');
  228 + $form->get('submit')->setValue('Add');
229 229
230 230 We instantiate `AlbumForm` and set the label on the submit button to “Add”. We
231 231 do this here as we’ll want to re-use the form when editing an album and will use

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.