Very much appreciated. Thanks. :-)
On Mar 15, 2:04 pm, "Yevgeniy A. Viktorov"
wrote:
> I do same as maestro wrote, also you can specify the models you would
> like to get fixtures for, i.e:
> symfony propel:data-dump --classes="BlogPost,BlogComment" frontend
>
> Thanks.
>
> maestro wrote:
> > I
Nice tip - I didn't know that feature existed
Looks like the same works for Doctrine too :)
I'll definitely be using that in future
On 15 Mar 2009, at 18:04, Yevgeniy A. Viktorov wrote:
>
>
> I do same as maestro wrote, also you can specify the models you would
> like to get fixtures for, i.e:
I do same as maestro wrote, also you can specify the models you would
like to get fixtures for, i.e:
symfony propel:data-dump --classes="BlogPost,BlogComment" frontend
Thanks.
maestro wrote:
> I usually use symfony propel:data-dump > fixture.yml. Then edit the
> file if i have to.
>
> On Mar 14
I usually use symfony propel:data-dump > fixture.yml. Then edit the
file if i have to.
On Mar 14, 2:59 am, Java Guy wrote:
> Is there a task or method anyone knows of to generate a fixture from a
> plugin?
>
> I've got some initial data I've put into my database using a fixture?
> But some of it
I forgot - phpMyAdmin also allows you to export to YAML
That'd probably be quicker
On 13 Mar 2009, at 18:59, Java Guy wrote:
>
> Is there a task or method anyone knows of to generate a fixture from a
> plugin?
>
> I've got some initial data I've put into my database using a fixture?
> But some
Try the sfYamlDumper class - http://www.symfony-project.org/api/1_2/sfYamlDumper
You'll probably need to write a small action/task to dump each object,
but shouldn't be too hard :)
On 13 Mar 2009, at 18:59, Java Guy wrote:
>
> Is there a task or method anyone knows of to generate a fixture fr