Open Journal Systems
3.3.0
|
Public Member Functions | |
all () | |
all () | |
clear () | |
clear () | |
get ($name, $default=null) | |
get ($name, $default=null) | |
getBag ($name) | |
getBag ($name) | |
getId () | |
getId () | |
getMetadataBag () | |
getMetadataBag () | |
getName () | |
getName () | |
has ($name) | |
has ($name) | |
invalidate ($lifetime=null) | |
invalidate ($lifetime=null) | |
isStarted () | |
isStarted () | |
migrate ($destroy=false, $lifetime=null) | |
migrate ($destroy=false, $lifetime=null) | |
registerBag (SessionBagInterface $bag) | |
registerBag (SessionBagInterface $bag) | |
remove ($name) | |
remove ($name) | |
replace (array $attributes) | |
replace (array $attributes) | |
save () | |
save () | |
set ($name, $value) | |
set ($name, $value) | |
setId ($id) | |
setId ($id) | |
setName ($name) | |
setName ($name) | |
start () | |
start () | |
Interface for the session.
Definition at line 21 of file lib/vendor/symfony/http-foundation/Session/SessionInterface.php.
Symfony\Component\HttpFoundation\Session\SessionInterface::all | ( | ) |
Returns attributes.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::all | ( | ) |
Returns attributes.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::clear | ( | ) |
Clears all attributes.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::clear | ( | ) |
Clears all attributes.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::get | ( | $name, | |
$default = null |
|||
) |
Returns an attribute.
string | $name | The attribute name |
mixed | $default | The default value if not found |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::get | ( | $name, | |
$default = null |
|||
) |
Returns an attribute.
string | $name | The attribute name |
mixed | $default | The default value if not found |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::getBag | ( | $name | ) |
Gets a bag instance by name.
string | $name |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::getBag | ( | $name | ) |
Gets a bag instance by name.
string | $name |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::getId | ( | ) |
Returns the session ID.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::getId | ( | ) |
Returns the session ID.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::getMetadataBag | ( | ) |
Gets session meta.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::getMetadataBag | ( | ) |
Gets session meta.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::getName | ( | ) |
Returns the session name.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::getName | ( | ) |
Returns the session name.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::has | ( | $name | ) |
Checks if an attribute is defined.
string | $name | The attribute name |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::has | ( | $name | ) |
Checks if an attribute is defined.
string | $name | The attribute name |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::invalidate | ( | $lifetime = null | ) |
Invalidates the current session.
Clears all session attributes and flashes and regenerates the session and deletes the old session from persistence.
int | $lifetime | Sets the cookie lifetime for the session cookie. A null value will leave the system settings unchanged, 0 sets the cookie to expire with browser session. Time is in seconds, and is not a Unix timestamp. |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::invalidate | ( | $lifetime = null | ) |
Invalidates the current session.
Clears all session attributes and flashes and regenerates the session and deletes the old session from persistence.
int | $lifetime | Sets the cookie lifetime for the session cookie. A null value will leave the system settings unchanged, 0 sets the cookie to expire with browser session. Time is in seconds, and is not a Unix timestamp. |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::isStarted | ( | ) |
Checks if the session was started.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::isStarted | ( | ) |
Checks if the session was started.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::migrate | ( | $destroy = false , |
|
$lifetime = null |
|||
) |
Migrates the current session to a new session id while maintaining all session attributes.
bool | $destroy | Whether to delete the old session or leave it to garbage collection |
int | $lifetime | Sets the cookie lifetime for the session cookie. A null value will leave the system settings unchanged, 0 sets the cookie to expire with browser session. Time is in seconds, and is not a Unix timestamp. |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::migrate | ( | $destroy = false , |
|
$lifetime = null |
|||
) |
Migrates the current session to a new session id while maintaining all session attributes.
bool | $destroy | Whether to delete the old session or leave it to garbage collection |
int | $lifetime | Sets the cookie lifetime for the session cookie. A null value will leave the system settings unchanged, 0 sets the cookie to expire with browser session. Time is in seconds, and is not a Unix timestamp. |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::registerBag | ( | SessionBagInterface | $bag | ) |
Registers a SessionBagInterface with the session.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::registerBag | ( | SessionBagInterface | $bag | ) |
Registers a SessionBagInterface with the session.
SessionBagInterface | $bag |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::remove | ( | $name | ) |
Removes an attribute.
string | $name |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::remove | ( | $name | ) |
Removes an attribute.
string | $name |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::replace | ( | array | $attributes | ) |
Sets attributes.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::replace | ( | array | $attributes | ) |
Sets attributes.
array | $attributes | Attributes |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::save | ( | ) |
Force the session to be saved and closed.
This method is generally not required for real sessions as the session will be automatically saved at the end of code execution.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::save | ( | ) |
Force the session to be saved and closed.
This method is generally not required for real sessions as the session will be automatically saved at the end of code execution.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::set | ( | $name, | |
$value | |||
) |
Sets an attribute.
string | $name | |
mixed | $value |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::set | ( | $name, | |
$value | |||
) |
Sets an attribute.
string | $name | |
mixed | $value |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::setId | ( | $id | ) |
Sets the session ID.
string | $id |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::setId | ( | $id | ) |
Sets the session ID.
string | $id |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::setName | ( | $name | ) |
Sets the session name.
string | $name |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::setName | ( | $name | ) |
Sets the session name.
string | $name |
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::start | ( | ) |
Starts the session storage.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.
Symfony\Component\HttpFoundation\Session\SessionInterface::start | ( | ) |
Starts the session storage.
Implemented in Symfony\Component\HttpFoundation\Session\Session, and Symfony\Component\HttpFoundation\Session\Session.