final public function output($templates = null, array $options = array())
    {
        if (empty($templates)) {
            $templates = $this->templates;
        }

        $this->prepareDataOutput();
        $this->prepareOutput($templates, $options);
        $this->response->outputHtml($this->renderOutput($templates), $options);
    }
final public function output($templates = null, array $options = array())
    {
        if (empty($templates)) {
            $templates = $this->templates;
        }

        $this->prepareDataOutput();
        $this->prepareOutput($templates, $options);
        $this->response->outputHtml($this->renderOutput($templates), $options);
    }
final public function output ( $ templates = null , array $ options = array ( ) ) { if ( empty ( $ templates ) ) { $ templates = $ this -> templates ; } $ this -> prepareDataOutput ( ) ; $ this -> prepareOutput ( $ templates , $ options ) ; $ this -> response -> outputHtml ( $ this -> renderOutput ( $ templates ) , $ options ) ; }
Outputs rendered page
@param null|array|string $templates
@param array $options
Outputs rendered page