29 lines
757 B
PHP
29 lines
757 B
PHP
<?php
|
||
|
||
namespace Trinity\Bundle\NotificationBundle\Form\Type;
|
||
|
||
use Propel\PropelBundle\Form\BaseAbstractType;
|
||
use Symfony\Component\Form\FormBuilderInterface;
|
||
|
||
class NotificationType extends BaseAbstractType
|
||
{
|
||
protected $options = array(
|
||
'data_class' => 'Trinity\Bundle\NotificationBundle\Model\Notification',
|
||
'name' => 'notification',
|
||
);
|
||
|
||
/**
|
||
* {@inheritdoc}
|
||
*/
|
||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||
{
|
||
$builder->add('contentRender');
|
||
$builder->add('logContentRender');
|
||
$builder->add('isRead');
|
||
$builder->add('userId');
|
||
$builder->add('templateId');
|
||
$builder->add('createdAt');
|
||
$builder->add('updatedAt');
|
||
}
|
||
}
|