1 | <?php |
||
26 | class SubmitButtonWidget extends Widget |
||
27 | { |
||
28 | /** |
||
29 | * @var string The label which should be displayed on button. |
||
30 | */ |
||
31 | public $label; |
||
32 | |||
33 | /** |
||
34 | * @var string The label which should be visible when the button is pushed. for example `... sending`. |
||
35 | */ |
||
36 | public $pushed; |
||
37 | |||
38 | /** |
||
39 | * @var array An array with Options which can be passed to the button, see {{luya\helpers\Html::submitButton}}. |
||
40 | */ |
||
41 | public $options = []; |
||
42 | |||
43 | /** |
||
44 | * {@inheritDoc} |
||
45 | */ |
||
46 | public function init() |
||
54 | |||
55 | /** |
||
56 | * {@inheritDoc} |
||
57 | */ |
||
58 | public function run() |
||
73 | } |