SproutCMS

This is the code documentation for the SproutCMS project

function set()

Sets a cache item to the given data, tags, and lifetime.

Usage

bool $File->set ( string $id , string $data [, array $tags , integer $lifetime ] );

Arguments

  1. string $id
    cache id to set
  2. string $data
    data in the cache
  3. array $tags = NULL
    cache tags
  4. integer $lifetime
    lifetime

Return value

  • bool