public function stream_open($path)
    {
        //Get the view script source
        $identifier = str_replace('tmpl://', '', $path);

        //Get the template object from the template stack and parse it
        $template = AnService::get($identifier)->top();

        //Get the template path
        $this->_path = $template->getPath();

        //Get the template data
        $this->_data = $template->parse();

       // file_get_contents() won't update PHP's stat cache, so performing
       // another stat() on it will hit the filesystem again. Since the file
       // has been successfully read, avoid this and just fake the stat
       // so include() is happy.
        $this->_stat = array('mode' => 0100777, 'size' => strlen($this->_data));

        return true;
    }