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