44 public function start();
58 public function getId();
104 public function regenerate($destroy =
false, $lifetime = null);
118 public function save();
153 public function all();
169 public function remove(
$name);
176 public function clear();
getId()
Returns the session ID.
clear()
Clears all attributes.
replace(array $attributes)
Replaces all attributes.
if($guid==elgg_get_logged_in_user_guid()) $name
setName($name)
Sets the session name.
regenerate($destroy=false, $lifetime=null)
Regenerates id that represents this storage.
getName()
Returns the session name.
has($name)
Checks if an attribute is defined.
save()
Force the session to be saved and closed.
isStarted()
Checks if the session is started.
setId($id)
Sets the session ID.
start()
Starts the session.
if(!$collection_name) $id
all()
Returns all attributes.