Subversion Repositories PHPX

Rev

Rev 27 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27 Rev 45
Line 16... Line 16...
16
  /**
16
  /**
17
   * Puts data in storage
17
   * Puts data in storage
18
   *
18
   *
19
   * @param string $key
19
   * @param string $key
20
   * @param mixed $value
20
   * @param mixed $value
-
 
21
   * @return mixed The stored value
21
   */
22
   */
22
  public static function set($key, $value)
23
  public static function set($key, $value)
23
  {
24
  {
24
    self::$_data[$key] = $value;
25
    self::$_data[$key] = $value;
-
 
26
    return self::get($key);
25
  }
27
  }
26
28
27
  /**
29
  /**
28
   * Gets data from storage
30
   * Gets data from storage
29
   *
31
   *