protected function fetch($id, $name, $cache_id, $compile_id, &$content, &$mtime)
    {
        $this->fetch->execute(array('id' => $id));
        $row = $this->fetch->fetch();
        $this->fetch->closeCursor();
        if ($row) {
            $content = $row['content'];
            $mtime = strtotime($row['modified']);
        } else {
            $content = null;
            $mtime = null;
        }
    }
protected function fetch($id, $name, $cache_id, $compile_id, &$content, &$mtime)
    {
        $this->fetch->execute(array('id' => $id));
        $row = $this->fetch->fetch();
        $this->fetch->closeCursor();
        if ($row) {
            $content = $row['content'];
            $mtime = strtotime($row['modified']);
        } else {
            $content = null;
            $mtime = null;
        }
    }
protected function fetch ( $ id , $ name , $ cache_id , $ compile_id , & $ content , & $ mtime ) { $ this -> fetch -> execute ( array ( 'id' => $ id ) ) ; $ row = $ this -> fetch -> fetch ( ) ; $ this -> fetch -> closeCursor ( ) ; if ( $ row ) { $ content = $ row [ 'content' ] ; $ mtime = strtotime ( $ row [ 'modified' ] ) ; } else { $ content = null ; $ mtime = null ; } }
fetch cached content and its modification time from data source

@param  string  $id         unique cache content identifier
@param  string  $name       template name
@param  string  $cache_id   cache id
@param  string  $compile_id compile id
@param  string  $content    cached content
@param  integer $mtime      cache modification timestamp (epoch)

@return void
fetch cached content and its modification time from data source