Hi,
i have doubts about what is better practice:
for example, I have this model:
Message:
actAs: [Timestampable]
columns:
sf_guard_user_id: integer(4)
receptor: integer(4)
type: integer(1)
title:
type: string(100)
notnull: true
content:
type: string(4000)
notnull: true
estado: boolean
And I have created a form class extending the form generated:
class AbbreviatedMessageForm extends MessageForm
{
public function configure()
{
}
}
Inside the configure() function:
I dont know if writing this:
parent::configure();
$this->useFields(array('title','content'));
or declaring the widgets with the setWidget() function.
--
Javi
Ubuntu 8.04
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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