Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Doctrine widget
PHP
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/widget
modules/sfDoctrineCreateInPlace
LICENSE
README
README.markdown
VERSION
package.xml

README.markdown

sfDoctrineCreateInPlacePlugin

Installation

Install plugin:

symfony plugin:install sfDoctrineCreateInPlacePlugin -s alpha

Usage

First, enable the sfDoctrineCreateInPlace module in the settings.yml:

all:
    .settings:
         ...
         enabled_modules:         [ default, sfDoctrineCreateInPlace ]

Then, change your form:

$this->widgetSchema['author_id'] = new sfWidgetFormDoctrineChoiceCreateInPlace(array(
    'height' => 300,
    'model' => $this->getRelatedModelName('Author'), 
    'add_empty' => false
));
Something went wrong with that request. Please try again.