f/wp_contactform/IMContactForm.php
/**
         * Confirms by checking GET|POST data if user data has been passed
         * @method hasUserData
         * @return {Boolean}
         */
Confirms by checking GET|POST data if user data has been passed
@method hasUserData
@return {Boolean}
Confirms by checking GET|POST data if user data has been passed @method hasUserData @return { Boolean }
public function hasUserData()
        {
            $a = '';
            if (defined('INPUT_POST') || defined('INPUT_GET')) {
               $this->_method = ($this->_method === 'post') ? INPUT_POST : INPUT_GET;
               $a = filter_input($this->_method, self::$formname);
            } else {
                if ($this->_method === 'post') {
                    $a = (isset($_POST[self::$formname]) && is_string($_POST[self::$formname])) ? $_POST[self::$formname] : '';
                } else {
                    $a = (isset($_POST[self::$formname]) && is_string($_POST[self::$formname])) ? $_POST[self::$formname] : '';
                }
            }
            return ($a === self::$formvalue);
        }
public function hasUserData ( ) { $ a = '' ; if ( defined ( 'INPUT_POST' ) || defined ( 'INPUT_GET' ) ) { $ this -> _method = ( $ this -> _method === 'post' ) ? INPUT_POST : INPUT_GET ; $ a = filter_input ( $ this -> _method , self :: $ formname ) ; } else { if ( $ this -> _method === 'post' ) { $ a = ( isset ( $ _POST [ self :: $ formname ] ) && is_string ( $ _POST [ self :: $ formname ] ) ) ? $ _POST [ self :: $ formname ] : '' ; } else { $ a = ( isset ( $ _POST [ self :: $ formname ] ) && is_string ( $ _POST [ self :: $ formname ] ) ) ? $ _POST [ self :: $ formname ] : '' ; } } return ( $ a === self :: $ formvalue ) ; }
Confirms by checking GET|POST data if user data has been passed
 @method hasUserData
 @return {Boolean}
Confirms by checking GET|POST data if user data has been passed @method hasUserData @return { Boolean }
// @codingStandardsIgnoreStart // @codingStandardsIgnoreEnd // @codingStandardsIgnoreStart // @codingStandardsIgnoreEnd