Ejemplo n.º 1
0
 /**
  * @return \k1lib\html\div|boolean
  */
 public function start_board()
 {
     if (!parent::start_board()) {
         return FALSE;
     }
     /**
      * IFRAME for KF tool
      */
     $fk_iframe = new \k1lib\html\iframe('', 'utility-iframe', "fk-iframe");
     DOM::html()->body()->content()->append_child_tail($fk_iframe);
     $this->create_object->enable_foundation_form_check();
     if ($this->create_object->get_state()) {
         $this->create_object->set_back_url(\k1lib\urlrewrite\get_back_url());
         $this->create_object->set_do_table_field_name_encrypt(TRUE);
         $this->controller_object->db_table->set_db_table_show_rule($this->show_rule_to_apply);
         $this->data_loaded = $this->create_object->load_db_table_data(TRUE);
         $this->create_object->catch_post_data();
         return $this->board_content_div;
     } else {
         DOM_notification::queue_mesasage(board_base_labels::$error_mysql_table_not_opened, "alert", $this->notifications_div_id);
         DOM_notification::queue_title(board_base_labels::$error_mysql);
         return FALSE;
     }
 }