AutorÃa | Ultima modificación | Ver Log |
<?phpdeclare(strict_types=1);namespace LeadersLinked\Form\Fcm;use Laminas\Form\Form;use Laminas\Db\Adapter\AdapterInterface;use Laminas\Log\LoggerInterface;use LeadersLinked\Mapper\CompanySizeMapper;use LeadersLinked\Mapper\IndustryMapper;use LeadersLinked\Model\Feed;class NotificationForm extends Form{public function __construct(){parent::__construct();$this->setInputFilter(new NotificationFilter());$this->add(['name' => 'title','type' => \Laminas\Form\Element\Text::class,'attributes' => ['id' => 'title','maxlength' => 50]]);$this->add(['name' => 'body','type' => \Laminas\Form\Element\Textarea::class,'attributes' => ['id' => 'body','maxlength' => 250]]);}}