| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | class SubmitButton extends Button |
||
| 31 | { |
||
| 32 | /** |
||
| 33 | * @var string the button label. Set to "false", if you do not want a label text to be rendered |
||
| 34 | */ |
||
| 35 | public $label = 'Submit'; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Initializes the widget. |
||
| 39 | */ |
||
| 40 | public function init() |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Executes the widget. |
||
| 48 | * |
||
| 49 | * @return string the rendered markup. |
||
| 50 | */ |
||
| 51 | public function run() |
||
| 56 |