gyro/core/view/widgets/input/base/submit.input.widget.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * A submit button 00004 * 00005 * @author Gerd Riesselmann 00006 * @ingroup View 00007 */ 00008 class InputWidgetSubmitBase extends InputWidgetBase { 00009 /** 00010 * Add new attributes or process old ones 00011 */ 00012 protected function extend_attributes(&$attrs, $params, $name, $title, $value, $policy) { 00013 $attrs['value'] = $value; 00014 } 00015 00016 /** 00017 * Render the actual widget 00018 */ 00019 protected function render_input($attrs, $params, $name, $title, $value, $policy) { 00020 return html::input('submit', $name, $attrs); 00021 } 00022 }