58 session_set_save_handler(
67 register_shutdown_function(session_write_close);
70 static function open($save_path, $session_name)
82 trace(
"Session Read $id", 3);
87 if ($session->expires < time())
return null;
88 return $session->data;
98 trace(
"Session Write $id", 3);
107 if ($session->session_id && ($data == $session->data))
109 $session->filter =
new ExclusionFilter(
"data",
"id");
113 $session->filter =
null;
117 $session->data = $data;
118 $session->expires = $expiry;
129 trace(
"Session Destroy $id", 3);
134 if ($session) $session->delete();
144 $session->delete(
"WHERE expires < ".time());
150 $mgr->upgrade($version);
static using()
Import the datamodels, views and manifest for the specified component(s).
static createDefaultSettings()
static upgradeComponent($version)
static open($save_path, $session_name)
static getValue($component, $name)
Retrieve the value of the specified Setting.
static setDefaultValue($component, $name, $value, $field_type="String", $annotation="", $category="", $options="", $weight=0)
Sets the default value of the given component setting.