Helloz-
I ran the pake task "doctrine-generate-crud". I've got two questions
about the output:
1 - In my edit template, the parameters for function object_input_tag()
were not what I expected.
<?php echo object_input_tag($user, array (
0 => 'get',
1 =>
array (
0 => 'display_name',
),
), array (
'size' => 80,
'control_name' => 'user[display_name]',
)) ?>
Why is the 2nd parameter set to that awkward array? I set it to
'getdisplay_name' and it seemed to work fine for me.
2 - Also in edit template, I have the following:
<?php use_helper('ObjectDoctrineAdmin', 'Object', 'Date') ?>
That helper uses the 'ObjectAdmin' helper, which is for the admin
generator (it seems). I intended the crud scaffolding to be accessible
by my projects users - not by admins. The generated scaffolding doesn't
use the functions in ObjectDoctrineAdmin, but I'm wondering if the crud
scaffolding ever uses that helper?
Thanks-
dibson
ps - Perhaps that second issue is for the dev list.... sorry!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---