| 1 | <?php if ( ! defined('EVENT_ESPRESSO_VERSION')) { exit('No direct script access allowed'); } |
||
| 11 | class EE_Submit_Input extends EE_Form_Input_Base{ |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param array $options |
||
| 15 | */ |
||
| 16 | public function __construct($options = array()){ |
||
| 25 | |||
| 26 | |||
| 27 | |||
| 28 | /** |
||
| 29 | * Sets the default as normal (overriden so it can circumvent calling |
||
| 30 | * EE_Submit_Input::_normalize() and EE_Submit_Input::_set_raw_value()) |
||
| 31 | * @param mixed $value |
||
| 32 | */ |
||
| 33 | public function set_default($value) |
||
| 38 | |||
| 39 | |||
| 40 | |||
| 41 | /** |
||
| 42 | * Does nothing, because it's actually not expected for submit input's values to change. |
||
| 43 | * If you want to change the input's value displayed, use `set_default()` |
||
| 44 | * @param array $req_data |
||
| 45 | * @return void |
||
| 46 | */ |
||
| 47 | public function _normalize($req_data) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Does nothing, because it's actually not expected for submit input's values to change. |
||
| 54 | * If you want to change the input's value displayed, use `set_default()` |
||
| 55 | */ |
||
| 56 | public function _set_raw_value($value) |
||
| 60 | } |
||
| 61 |