protected function save($id, $name, $cache_id, $compile_id, $exp_time, $content)
    {
        $this->save->execute(array(
                                 'id'         => $id,
                                 'name'       => $name,
                                 'cache_id'   => $cache_id,
                                 'compile_id' => $compile_id,
                                 'content'    => $content,
                             ));

        return !!$this->save->rowCount();
    }
protected function save($id, $name, $cache_id, $compile_id, $exp_time, $content)
    {
        $this->save->execute(array(
                                 'id'         => $id,
                                 'name'       => $name,
                                 'cache_id'   => $cache_id,
                                 'compile_id' => $compile_id,
                                 'content'    => $content,
                             ));

        return !!$this->save->rowCount();
    }
protected function save ( $ id , $ name , $ cache_id , $ compile_id , $ exp_time , $ content ) { $ this -> save -> execute ( array ( 'id' => $ id , 'name' => $ name , 'cache_id' => $ cache_id , 'compile_id' => $ compile_id , 'content' => $ content , ) ) ; return ! ! $ this -> save -> rowCount ( ) ; }
Save content to cache

@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  integer|null $exp_time   seconds till expiration time in seconds or null
@param  string       $content    content to cache

@return boolean      success
Save content to cache