This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$inputFilter = $form->getInputFilter(); | |
$spec = array( | |
'name' => 'an_element_name', | |
'required' => true, | |
'filters' => array( | |
array('name' => 'Zend\Filter\StringTrim'), | |
), | |
'validators' => array( | |
array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Bad injection problem in ZF 2.0.0 rc7 | |
// Foo Module namespace | |
namespace Foo { | |
class AdminArea { | |
protected $isMemberOnly = true; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Application; | |
use Locale; | |
use Zend\EventManager\Event; | |
use Zend\ModuleManager\Feature; | |
class Module implements | |
Feature\BootstrapListenerInterface | |
{ |