xcache_set example


    public function save($data$id$tags = array()$specificLifetime = false)
    {
        $lifetime = $this->getLifetime($specificLifetime);
        $result = xcache_set($id, array($datatime())$lifetime);
        if (count($tags) > 0) {
            $this->_log(self::TAGS_UNSUPPORTED_BY_SAVE_OF_XCACHE_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.