26 lines
605 B
PHP
26 lines
605 B
PHP
|
<?php
|
|||
|
|
|||
|
namespace Deblan\Bundle\BlogBundle\Form\Type;
|
|||
|
|
|||
|
use Propel\PropelBundle\Form\BaseAbstractType;
|
|||
|
use Symfony\Component\Form\FormBuilderInterface;
|
|||
|
|
|||
|
class UserLogType extends BaseAbstractType
|
|||
|
{
|
|||
|
protected $options = array(
|
|||
|
'data_class' => 'Deblan\Bundle\BlogBundle\Model\UserLog',
|
|||
|
'name' => 'userlog',
|
|||
|
);
|
|||
|
|
|||
|
/**
|
|||
|
* {@inheritdoc}
|
|||
|
*/
|
|||
|
public function buildForm(FormBuilderInterface $builder, array $options)
|
|||
|
{
|
|||
|
$builder->add('userId');
|
|||
|
$builder->add('message');
|
|||
|
$builder->add('createdAt');
|
|||
|
$builder->add('updatedAt');
|
|||
|
}
|
|||
|
}
|