public function render_view($html, $data = array())
    {
        $this->last_selector = null;

        if (is_array($html)) {
            $html = join("\n", $html);
        }

        return $this->cmd(5, array(
            $this->typecast($html, true, true),
            $data
        ));
    }
public function render_view($html, $data = array())
    {
        $this->last_selector = null;

        if (is_array($html)) {
            $html = join("\n", $html);
        }

        return $this->cmd(5, array(
            $this->typecast($html, true, true),
            $data
        ));
    }
public function render_view ( $ html , $ data = array ( ) ) { $ this -> last_selector = null ; if ( is_array ( $ html ) ) { $ html = join ( "\n" , $ html ) ; } return $ this -> cmd ( 5 , array ( $ this -> typecast ( $ html , true , true ) , $ data ) ) ; }
Render a view to the container previously specified

@param string $html HTML to be replaced in the container
@param array $data Array of data to pass to the before/after functions set on Phery.view

@see Phery.view() on JS
@return PheryResponse
Render a view to the container previously specified