f/wp_contactform/IMContactForm.php
/**
         * Provides HTML Output, sends data if data found and valid
         * @method html
         * @return {String} 
         */
Provides HTML Output, sends data if data found and valid
@method html
@return {String}
Provides HTML Output sends data if data found and valid @method html @return { String }
public function html()
        {
            $str = "";
            if ($this->hasUserData()) {
                $this->discoverUserData();
                if ($this->_content->vaild()) {
                    $this->attemptToSend();
                } else {
                    $str = $this->view->form(true);
                }
            } else {
                $this->_content = new IMContactFormContent();
                $str = $this->view->form();
            }
            return $str;
        }
public function html ( ) { $ str = " " ; if ( $ this -> hasUserData ( ) ) { $ this -> discoverUserData ( ) ; if ( $ this -> _content -> vaild ( ) ) { $ this -> attemptToSend ( ) ; } else { $ str = $ this -> view -> form ( true ) ; } } else { $ this -> _content = new IMContactFormContent ( ) ; $ str = $ this -> view -> form ( ) ; } return $ str ; }
Provides HTML Output, sends data if data found and valid
 @method html
 @return {String}
Provides HTML Output sends data if data found and valid @method html @return { String }