mix.
annotation for entities.
2011/6/3 Dmitry Bykadorov
> Thanks, Christophe!
>
> You're right, PHP configuration I've never using.
>
> But for my projects I need some code conventions ) E.g. only YAML or
> only Annotations.
>
> Now I'm trying to use XML in my bundles.
>
> p.s. Can anyone give
2011/6/8 Rigoberto Reyes sv
> class ProductType extends AbstractType
> {
> public function buildForm(FormBuilder $builder, array $options)
> {
> $builder->add('name');
> $builder->add('price','money',array('currency'=>'EUR'))
> $builder->add('description');
> $builder-
I use
$builder->add('fecha_creacion', 'birthday',
array('widget' => 'choice',
'pattern'=>'dd/MM/',
'format'=>3));
but you have to fix
symfony/component/form/extension/core/type/datetype.php
in line 96 intead of
$pattern = $f
Hi Oscar
Could you post some code about how to use per or post events?
Thanks
Marcelo
2011/6/20 oscar balladares
> Hi everybody!.
>
> I'm using Yaml configuration for doctrine metadata.
>
> All others events (prePersist, postPersist, preRemove, postRemove) are
> working properly, but not the pr
+1 split
2011/6/21 Jeremiah Dodds
>
>
> On Tue, Jun 21, 2011 at 12:02 PM, Luis Cordova wrote:
>
>> splitting is counterproductive, we can always hit delete
>> I myself hit a ton of deletes even with sf2 and I am for sf2, so i
>> think people is having too thin of a skin.
>
>
> If you think the
ut preUpdate nor postUpdate;
> If I would have misstyped prePersist: [ uploadFil*eIMisstypedThis* ]
> the framework will thrown an exception telling me that such method doesn't
> exist in the entity class; if I do the same for preUpdate, or postUpdate,
> it will be ignored, like it doesn