for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* EE_Email_Confirm_Input
*
* @package Event Espresso
* @subpackage
* @since 4.10.5.p
* @author Rafael Goulart
*/
class EE_Email_Confirm_Input extends EE_Form_Input_Base
{
* @param array $input_settings
public function __construct($input_settings = array())
$this->_set_display_strategy(new EE_Text_Input_Display_Strategy('email'));
$this->_set_normalization_strategy(new EE_Text_Normalization());
$this->_add_validation_strategy(
new EE_Email_Validation_Strategy(
isset($input_settings['validation_error_message'])
? $input_settings['validation_error_message']
: null
)
);
new EE_Equal_To_Validation_Strategy(
: null,
'#' . str_replace('email_confirm', 'email', $input_settings['html_id'])
parent::__construct($input_settings);
$this->set_html_class($this->html_class() . ' email');
}