25 lines
561 B
PHP
25 lines
561 B
PHP
<?php
|
||
|
||
namespace Trinity\Bundle\UserBundle\Form\Type;
|
||
|
||
use Propel\PropelBundle\Form\BaseAbstractType;
|
||
use Symfony\Component\Form\FormBuilderInterface;
|
||
|
||
class UserLogFilterType extends BaseAbstractType
|
||
{
|
||
protected $options = array(
|
||
'data_class' => 'FOS\UserBundle\Propel\UserLog',
|
||
'name' => 'userlog',
|
||
'csrf_protection' => false,
|
||
);
|
||
|
||
/**
|
||
* {@inheritdoc}
|
||
*/
|
||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||
{
|
||
$builder->add('userId');
|
||
$builder->add('message');
|
||
}
|
||
}
|