Пример #1
0
 /**
  * Returns the current class as an object from the session
  *
  * @access public
  * @static
  * @param string $key the key to retrieve
  * @return object the class instaniation or null if there is none
  */
 public static function fromSession($key)
 {
     return unserialize(Params::SESSION($key));
 }