<?php
namespace Moto\InputFilter\ClickAction; use Moto\InputFilter\AbstractInputFilter; class Lightbox extends AbstractInputFilter { public function init() { $this->add(array( 'name' => 'mediaId', 'required' => false, 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ) )); $this->add(array( 'name' => 'size', 'required' => false, 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ) )); $this->add(array( 'name' => 'src', 'required' => false, 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ) )); } }