|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct (SessionStorageInterface $storage=null, AttributeBagInterface $attributes=null, FlashBagInterface $flashes=null) | |
| __construct (SessionStorageInterface $storage=null, AttributeBagInterface $attributes=null, FlashBagInterface $flashes=null) | |
| all () | |
| all () | |
| clear () | |
| clear () | |
| count () | |
| count () | |
| get ($name, $default=null) | |
| get ($name, $default=null) | |
| getBag ($name) | |
| getBag ($name) | |
| getFlashBag () | |
| getFlashBag () | |
| getId () | |
| getId () | |
| getIterator () | |
| getIterator () | |
| getMetadataBag () | |
| getMetadataBag () | |
| getName () | |
| getName () | |
| & | getUsageIndex () |
| has ($name) | |
| has ($name) | |
| invalidate ($lifetime=null) | |
| invalidate ($lifetime=null) | |
| isEmpty () | |
| 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 () | |
Protected Attributes | |
| $storage | |
Definition at line 27 of file lib/vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::__construct | ( | SessionStorageInterface | $storage = null, |
| AttributeBagInterface | $attributes = null, |
||
| FlashBagInterface | $flashes = null |
||
| ) |
Constructor.
| SessionStorageInterface | $storage | A SessionStorageInterface instance |
| AttributeBagInterface | $attributes | An AttributeBagInterface instance, (defaults null for default AttributeBag) |
| FlashBagInterface | $flashes | A FlashBagInterface instance (defaults null for default FlashBag) |
Definition at line 62 of file lib/vendor/symfony/http-foundation/Session/Session.php.
References Symfony\Component\HttpFoundation\Session\Session\$storage, and Symfony\Component\HttpFoundation\Session\Session\registerBag().
| Symfony\Component\HttpFoundation\Session\Session::__construct | ( | SessionStorageInterface | $storage = null, |
| AttributeBagInterface | $attributes = null, |
||
| FlashBagInterface | $flashes = null |
||
| ) |
Definition at line 39 of file vendor/symfony/http-foundation/Session/Session.php.
References Symfony\Component\HttpFoundation\Session\Session\$storage, and Symfony\Component\HttpFoundation\Session\Session\registerBag().
| Symfony\Component\HttpFoundation\Session\Session::all | ( | ) |
{Returns attributes.
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 87 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::all | ( | ) |
{Returns attributes.
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 110 of file lib/vendor/symfony/http-foundation/Session/Session.php.
Referenced by Symfony\Component\HttpFoundation\Session\Session\count(), and Symfony\Component\HttpFoundation\Session\Session\getIterator().
| Symfony\Component\HttpFoundation\Session\Session::clear | ( | ) |
{Clears all attributes.}
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 111 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::clear | ( | ) |
{Clears all attributes.}
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 134 of file lib/vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::count | ( | ) |
Returns the number of attributes.
Definition at line 139 of file vendor/symfony/http-foundation/Session/Session.php.
References Symfony\Component\HttpFoundation\Session\Session\all().
| Symfony\Component\HttpFoundation\Session\Session::count | ( | ) |
Returns the number of attributes.
Definition at line 162 of file lib/vendor/symfony/http-foundation/Session/Session.php.
References Symfony\Component\HttpFoundation\Session\Session\all().
Referenced by Symfony\Component\HttpFoundation\Tests\Session\Attribute\AttributeBagTest\testCount(), Symfony\Component\HttpFoundation\Tests\Session\Attribute\AttributeBagTest\testGetIterator(), and Symfony\Component\HttpFoundation\Tests\Session\SessionTest\testGetIterator().
| Symfony\Component\HttpFoundation\Session\Session::get | ( | $name, | |
$default = null |
|||
| ) |
{Returns an attribute.
| string | $name | The attribute name |
| mixed | $default | The default value if not found |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 71 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::get | ( | $name, | |
$default = null |
|||
| ) |
{Returns an attribute.
| string | $name | The attribute name |
| mixed | $default | The default value if not found |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 94 of file lib/vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::getBag | ( | $name | ) |
{Gets a bag instance by name.
| string | $name |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 244 of file lib/vendor/symfony/http-foundation/Session/Session.php.
Referenced by Symfony\Component\HttpFoundation\Session\Session\getFlashBag().
| Symfony\Component\HttpFoundation\Session\Session::getBag | ( | $name | ) |
{Gets a bag instance by name.
| string | $name |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 247 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::getFlashBag | ( | ) |
Gets the flashbag interface.
Definition at line 254 of file lib/vendor/symfony/http-foundation/Session/Session.php.
References Symfony\Component\HttpFoundation\Session\Session\getBag().
| Symfony\Component\HttpFoundation\Session\Session::getFlashBag | ( | ) |
Gets the flashbag interface.
Definition at line 259 of file vendor/symfony/http-foundation/Session/Session.php.
References Symfony\Component\HttpFoundation\Session\Session\getBag().
| Symfony\Component\HttpFoundation\Session\Session::getId | ( | ) |
{Returns the session ID.
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 195 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::getId | ( | ) |
{Returns the session ID.
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 196 of file lib/vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::getIterator | ( | ) |
Returns an iterator for attributes.
Definition at line 129 of file vendor/symfony/http-foundation/Session/Session.php.
References Symfony\Component\HttpFoundation\Session\Session\all().
| Symfony\Component\HttpFoundation\Session\Session::getIterator | ( | ) |
Returns an iterator for attributes.
Definition at line 152 of file lib/vendor/symfony/http-foundation/Session/Session.php.
References Symfony\Component\HttpFoundation\Session\Session\all().
| Symfony\Component\HttpFoundation\Session\Session::getMetadataBag | ( | ) |
{Gets session meta.
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 228 of file lib/vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::getMetadataBag | ( | ) |
{Gets session meta.
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 229 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::getName | ( | ) |
{Returns the session name.
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 212 of file lib/vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::getName | ( | ) |
{Returns the session name.
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 213 of file vendor/symfony/http-foundation/Session/Session.php.
| & Symfony\Component\HttpFoundation\Session\Session::getUsageIndex | ( | ) |
Definition at line 144 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::has | ( | $name | ) |
{Checks if an attribute is defined.
| string | $name | The attribute name |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 63 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::has | ( | $name | ) |
{Checks if an attribute is defined.
| string | $name | The attribute name |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 86 of file lib/vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::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. |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 169 of file vendor/symfony/http-foundation/Session/Session.php.
References Symfony\Component\HttpFoundation\Session\Session\migrate().
| Symfony\Component\HttpFoundation\Session\Session::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. |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 170 of file lib/vendor/symfony/http-foundation/Session/Session.php.
References Symfony\Component\HttpFoundation\Session\Session\migrate().
| Symfony\Component\HttpFoundation\Session\Session::isEmpty | ( | ) |
Definition at line 152 of file vendor/symfony/http-foundation/Session/Session.php.
References Symfony\Component\HttpFoundation\Session\Session\isStarted().
| Symfony\Component\HttpFoundation\Session\Session::isStarted | ( | ) |
{Checks if the session was started.
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 119 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::isStarted | ( | ) |
{Checks if the session was started.
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 142 of file lib/vendor/symfony/http-foundation/Session/Session.php.
Referenced by Symfony\Component\HttpFoundation\Session\Session\isEmpty().
| Symfony\Component\HttpFoundation\Session\Session::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. |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 179 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::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. |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 180 of file lib/vendor/symfony/http-foundation/Session/Session.php.
Referenced by Symfony\Component\HttpFoundation\Session\Session\invalidate().
| Symfony\Component\HttpFoundation\Session\Session::registerBag | ( | SessionBagInterface | $bag | ) |
{Registers a SessionBagInterface with the session.
| SessionBagInterface | $bag |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 236 of file lib/vendor/symfony/http-foundation/Session/Session.php.
Referenced by Symfony\Component\HttpFoundation\Session\Session\__construct().
| Symfony\Component\HttpFoundation\Session\Session::registerBag | ( | SessionBagInterface | $bag | ) |
{Registers a SessionBagInterface with the session.
| SessionBagInterface | $bag |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 239 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::remove | ( | $name | ) |
{Removes an attribute.
| string | $name |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 103 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::remove | ( | $name | ) |
{Removes an attribute.
| string | $name |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 126 of file lib/vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::replace | ( | array | $attributes | ) |
{Sets attributes.
| array | $attributes | Attributes |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 95 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::replace | ( | array | $attributes | ) |
{Sets attributes.
| array | $attributes | Attributes |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 118 of file lib/vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::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.}
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 187 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::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.}
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 188 of file lib/vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::set | ( | $name, | |
| $value | |||
| ) |
{Sets an attribute.
| string | $name | |
| mixed | $value |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 79 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::set | ( | $name, | |
| $value | |||
| ) |
{Sets an attribute.
| string | $name | |
| mixed | $value |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 102 of file lib/vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::setId | ( | $id | ) |
{Sets the session ID.
| string | $id |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 203 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::setId | ( | $id | ) |
{Sets the session ID.
| string | $id |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 204 of file lib/vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::setName | ( | $name | ) |
{Sets the session name.
| string | $name |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 220 of file lib/vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::setName | ( | $name | ) |
{Sets the session name.
| string | $name |
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 221 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::start | ( | ) |
{Starts the session storage.
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 55 of file vendor/symfony/http-foundation/Session/Session.php.
| Symfony\Component\HttpFoundation\Session\Session::start | ( | ) |
{Starts the session storage.
Implements Symfony\Component\HttpFoundation\Session\SessionInterface.
Definition at line 78 of file lib/vendor/symfony/http-foundation/Session/Session.php.
|
protected |
Storage driver.
Definition at line 37 of file lib/vendor/symfony/http-foundation/Session/Session.php.
Referenced by Symfony\Component\HttpFoundation\Session\Session\__construct(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\getMemorySqlitePdo(), Symfony\Component\HttpFoundation\Tests\Session\Storage\PhpBridgeSessionStorageTest\getStorage(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\getStorage(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testBag(), Symfony\Component\HttpFoundation\Tests\Session\Storage\PhpBridgeSessionStorageTest\testClear(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\NativeFileSessionHandlerTest\testConstruct(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\NativeFileSessionHandlerTest\testConstructDefault(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testCreateTableTwice(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testDefaultSessionCacheLimiter(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testExplicitSessionCacheLimiter(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testGetConnection(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testGetConnectionConnectsIfNeeded(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testGetId(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testInexistentTable(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\NullSessionHandlerTest\testNothingIsPersisted(), Symfony\Component\HttpFoundation\Tests\Session\Storage\PhpBridgeSessionStorageTest\testPhpSession(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testReadConvertsStreamToString(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testReadingRequiresExactlySameId(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testReadLockedConvertsStreamToString(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testReadWriteReadWithNullByte(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testRegenerate(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testRegenerateDestroy(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testRegenerationFailureDoesNotFlagStorageAsStarted(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testRegisterBagException(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testRegisterBagForAStartedSessionThrowsException(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testRestart(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\NullSessionHandlerTest\testSaveHandlers(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\NullSessionHandlerTest\testSession(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testSessionDestroy(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testSessionGC(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testSessionGlobalIsUpToDateAfterIdRegeneration(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testSetSaveHandler(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testSetSaveHandlerException(), Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest\testStarted(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testWithLazyDsnConnection(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testWithLazySavePathConnection(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testWriteDifferentSessionIdThanRead(), Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testWrongPdoErrMode(), and Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest\testWrongUsageStillWorks().