![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de AKCoreTimer:Fonctions membres publiques | |
| __construct () | |
| __wakeup () | |
| getTimeLeft () | |
| getRunningTime () | |
| enforce_min_exec_time () | |
| resetTime () | |
| setMaxExecTime ($max_exec_time) | |
Fonctions membres publiques hérités de AKAbstractObject | |
| __construct () | |
| getError ($i=null) | |
| getErrors () | |
| resetErrors () | |
| getWarning ($i=null) | |
| getWarnings () | |
| resetWarnings () | |
| propagateToObject (&$object) | |
| propagateFromObject (&$object) | |
| setError ($error) | |
| setWarning ($warning) | |
Fonctions membres privées | |
| microtime_float () | |
Attributs privés | |
| $max_exec_time = null | |
| $start_time = null | |
Membres hérités additionnels | |
Fonctions membres protégées hérités de AKAbstractObject | |
| setErrorsQueueSize ($newSize=0) | |
| setWarningsQueueSize ($newSize=0) | |
Attributs protégés hérités de AKAbstractObject | |
| $_errors_queue_size = 0 | |
| $_warnings_queue_size = 0 | |
Timer class
| __construct | ( | ) |
Public constructor, creates the timer object and calculates the execution time limits
Références AKFactory\get(), et microtime_float().
| __wakeup | ( | ) |
Wake-up function to reset internal timer when we get unserialized
Références microtime_float().
| enforce_min_exec_time | ( | ) |
Enforce the minimum execution time
Références elseif, AKFactory\get(), et getRunningTime().
| getRunningTime | ( | ) |
Gets the time elapsed since object creation/unserialization, effectively how long Akeeba Engine has been processing data
Références $start_time, et microtime_float().
Référencé par enforce_min_exec_time(), et getTimeLeft().
| getTimeLeft | ( | ) |
Gets the number of seconds left, before we hit the "must break" threshold
Références getRunningTime().
|
private |
Returns the current timestampt in decimal seconds
Référencé par __construct(), __wakeup(), getRunningTime(), et resetTime().
| resetTime | ( | ) |
Reset the timer. It should only be used in CLI mode!
Références microtime_float().
| setMaxExecTime | ( | $max_exec_time | ) |
| int | $max_exec_time |
Références $max_exec_time.
|
private |
Référencé par setMaxExecTime().
|
private |
Référencé par getRunningTime().