| @@ 22-51 (lines=30) @@ | ||
| 19 | * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3) |
|
| 20 | * @link http://www.noovias.com |
|
| 21 | */ |
|
| 22 | class Payone_SessionStatus_Config extends Payone_Config_Abstract |
|
| 23 | { |
|
| 24 | /** |
|
| 25 | * @return array |
|
| 26 | */ |
|
| 27 | public function getDefaultConfigData() |
|
| 28 | { |
|
| 29 | $defaultConfig = array( |
|
| 30 | 'default' => array( |
|
| 31 | 'validators' => array( |
|
| 32 | 'Payone_SessionStatus_Validator_Ip', |
|
| 33 | 'Payone_SessionStatus_Validator_DefaultParameters', |
|
| 34 | ), |
|
| 35 | 'protocol' => array( |
|
| 36 | 'filter' => array( |
|
| 37 | Payone_Protocol_Filter_MaskValue::FILTER_KEY => array( |
|
| 38 | 'enabled' => 1, |
|
| 39 | 'percent' => 100 |
|
| 40 | ), |
|
| 41 | Payone_Protocol_Filter_MaskAllValue::FILTER_KEY => array( |
|
| 42 | 'enabled' => 1 |
|
| 43 | ) |
|
| 44 | ), |
|
| 45 | ), |
|
| 46 | ) |
|
| 47 | ); |
|
| 48 | return $defaultConfig; |
|
| 49 | } |
|
| 50 | ||
| 51 | } |
|
| 52 | ||
| @@ 31-60 (lines=30) @@ | ||
| 28 | * @license <http://www.gnu.org/licenses/> GNU General Public License (GPL 3) |
|
| 29 | * @link http://www.noovias.com |
|
| 30 | */ |
|
| 31 | class Payone_TransactionStatus_Config extends Payone_Config_Abstract |
|
| 32 | { |
|
| 33 | /** |
|
| 34 | * @return array |
|
| 35 | */ |
|
| 36 | public function getDefaultConfigData() |
|
| 37 | { |
|
| 38 | $defaultConfig = array( |
|
| 39 | 'default' => array( |
|
| 40 | 'validators' => array( |
|
| 41 | 'Payone_TransactionStatus_Validator_Ip', |
|
| 42 | 'Payone_TransactionStatus_Validator_DefaultParameters', |
|
| 43 | ), |
|
| 44 | 'protocol' => array( |
|
| 45 | 'filter' => array( |
|
| 46 | Payone_Protocol_Filter_MaskValue::FILTER_KEY => array( |
|
| 47 | 'enabled' => 1, |
|
| 48 | 'percent' => 100 |
|
| 49 | ), |
|
| 50 | Payone_Protocol_Filter_MaskAllValue::FILTER_KEY => array( |
|
| 51 | 'enabled' => 1 |
|
| 52 | ) |
|
| 53 | ), |
|
| 54 | ), |
|
| 55 | ) |
|
| 56 | ); |
|
| 57 | return $defaultConfig; |
|
| 58 | } |
|
| 59 | ||
| 60 | } |
|
| 61 | ||