main_form_processing_sanitisation($_POST); $error = self::$processing->main_form_processing_validation($form); if (empty($error)) { echo self::$success->update_option_interface($form); } else { echo self::$check->failure_message_facade($error); } // end if error } echo ''; $site_name = array( 'input' => 'text', // input type 'name' => 'siteName', // name attribute 'desc' => 'Feed name:', // for use in input label 'maxlength' => '200', // max attribute 'value' => 'YES', // value attribute 'select' => FALSE // array only for the select input ); $form = array( 'method' => 'post', 'action' => '#result', 'enctype' => 'application/x-www-form-urlencoded', 'description' => '

Add your new feeds here

', 'option' => TRUE, 'submit' => 'submitLar', 'submtiTwo' => NULL, 'synchronize' => NULL, 'tracking' => NULL, ); self::$form_builder->create_form($form, $site_name); } /** * Main_Form::main_form_facade() * * @return */ public function main_form_facade() { $this->main_form(); } }