apc_store example


    public function save($data$id$tags = array()$specificLifetime = false)
    {
        $lifetime = $this->getLifetime($specificLifetime);
        $result = apc_store($id, array($datatime()$lifetime)$lifetime);
        if (count($tags) > 0) {
            $this->_log(self::TAGS_UNSUPPORTED_BY_SAVE_OF_APC_BACKEND);
        }
        return $result;
    }

    /** * Remove a cache record * * @param string $id cache id * @return boolean true if no problem */
Home | Imprint | This part of the site doesn't use cookies.