public function html($data)
    {
        if(is_array($data)) {
            echo $this->json($data);
        } else {
            echo $data;
        }

        if($this->app->config('session.enable')) {
            $this->session->create('previous_uri', $_SERVER['REQUEST_URI']);
            $this->session->create('planet_oldInput', null);
        }
    }
public function html($data)
    {
        if(is_array($data)) {
            echo $this->json($data);
        } else {
            echo $data;
        }

        if($this->app->config('session.enable')) {
            $this->session->create('previous_uri', $_SERVER['REQUEST_URI']);
            $this->session->create('planet_oldInput', null);
        }
    }
public function html ( $ data ) { if ( is_array ( $ data ) ) { echo $ this -> json ( $ data ) ; } else { echo $ data ; } if ( $ this -> app -> config ( 'session.enable' ) ) { $ this -> session -> create ( 'previous_uri' , $ _SERVER [ 'REQUEST_URI' ] ) ; $ this -> session -> create ( 'planet_oldInput' , null ) ; } }
To response with html

@param string $data
To response with html