Definition at line 5 of file Alive.php.
◆ clientConfig()
◆ getInterval()
◆ getJournalFilename()
◆ init()
◆ journal()
Add a message to the journal.
- Parameters
-
Definition at line 63 of file Alive.php.
◆ journalGarbage()
journalGarbage |
( |
|
$force = false | ) |
|
Clean-up the journals.
- Parameters
-
bool | $force | Set to true to force a clean-up (otherwise the journalGarbageChance is used). |
- Returns
- int Number of active journals (null if not cleaned).
Definition at line 76 of file Alive.php.
◆ journalMessages()
All messages from a journal.
- Parameters
-
- Returns
- array Message lines.
Definition at line 118 of file Alive.php.
◆ journals()
journals |
( |
|
$filter = null , |
|
|
|
$order = null |
|
) |
| |
List all active journals.
- Parameters
-
string | $filter | Only journals with this string in one of the messages. |
string | $order | Order the journals by one of the properties. |
- Returns
- array Array with 'name','time', and 'size'.
Definition at line 101 of file Alive.php.
◆ ping()
Ping the session to see its status.
- Returns
- string URL to navigate to (empty = no action required).
Definition at line 45 of file Alive.php.
◆ register()
Register a component to be pinged.
- Parameters
-
string | $name | Name of the component. |
Definition at line 37 of file Alive.php.
◆ $_journalFilename
◆ $_lastAlive
◆ $journalExt
◆ $journalFormat
◆ $journalGarbageChance
$journalGarbageChance = 100 |
◆ $journalMaxSize
Max filesize in bytes.
Definition at line 13 of file Alive.php.
◆ $journalPath
Path for journal files (empty = do not save).
Definition at line 10 of file Alive.php.
◆ $journalTimout
Max idle time in seconds.
Definition at line 14 of file Alive.php.
◆ $maxInactiveTime
Maximum period of inactivity (minutes; empty = infinite).
Definition at line 8 of file Alive.php.
◆ $maxSessionTime
Maximum duration of a session (minutes; empty = infinite).
Definition at line 7 of file Alive.php.
The documentation for this class was generated from the following file:
- /var/www/fred.local/vendor/rsi/fred/src/Rsi/Fred/Alive.php