Moved everything under annotations.

Some review is still needed.
This commit is contained in:
Polonkai Gergely
2012-07-13 12:07:21 +02:00
parent 60b5eecbc8
commit 00190c3e37
41 changed files with 3264 additions and 2509 deletions

View File

@@ -17,7 +17,7 @@ class ForumPostType extends AbstractType
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('created_at', 'hidden', array(
$builder->add('createdAt', 'hidden', array(
'label' => 'Időpont',
'data' => new \DateTime('now')
));

View File

@@ -42,7 +42,7 @@ class UserType extends AbstractType
));
if (!$this->_registration)
{
$builder->add('user_data', new UserDataType(), array(
$builder->add('userData', new UserDataType(), array(
'label' => 'Egyéb adatok',
));
}