Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

eduardo-marcolino/sfDoctrineCreateInPlacePlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
));

About

Doctrine widget

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages