for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class Nip_Form_Renderer_Button_Input extends Nip_Form_Renderer_Button_Abstract
{
public function generateItem()
$this->getItem()->setValue($this->getItem()->getLabel());
$return = '<input ' . $this->renderAttributes() . ' />';
return $return;
}
/**
* @inheritDoc
*/
public function getAllowedAttributes()
$attribs = parent::getAllowedAttributes();
$attribs[] = 'type';
$attribs[] = 'value';
return $attribs;