<?php
namespace Moto\InputFilter\ClickAction; use Moto\InputFilter\AbstractInputFilter; class HomePage extends AbstractInputFilter { public function init() { $this->add(array( 'name' => 'anchor', 'required' => false, 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ), 'validators' => array( array( 'name' => 'StringLength', 'options' => array( 'encoding' => 'UTF-8', 'min' => 1, 'max' => 200, ), ), ), )); } }