| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Inheritance diagram for ILIAS\Cache\Container\ActiveContainer:
 Collaboration diagram for ILIAS\Cache\Container\ActiveContainer:Public Member Functions | |
| __construct (private Request $request, private Adaptor $adaptor, private Config $config) | |
| isLocked () | |
| Returns true if the container is locked.  More... | |
| lock (float $seconds) | |
| Locks the container for a given amount of seconds (max 300), in this time, get() will return null and has() will return false.  More... | |
| has (string $key) | |
| Returns true if the container contains a value for the given key.  More... | |
| get (string $key, Transformation $transformation) | |
| Returns the value for the given key, or null if the key does not exist.  More... | |
| set (string $key, string|int|array|bool|null $value, ?int $ttl=null) | |
| Sets the value for the given key.  More... | |
| delete (string $key) | |
| Deletes the value for the given key.  More... | |
| flush () | |
| Deletes all values in the container.  More... | |
| getAdaptorName () | |
| Returns the name of the adaptop used (such as apc, memcache, phpstatic)  More... | |
| getContainerName () | |
| Returns the name of the container.  More... | |
| unlock () | |
Protected Member Functions | |
| buildFinalTransformation (Transformation $transformation) | |
| getNullFallback () | |
Private Member Functions | |
| pack (mixed $value) | |
| packRecursive (array $value) | |
| unprefix (string $value) | |
| unpack (?string $value) | |
| unpackRecursive (array $value) | |
Private Attributes | |
| const | LOCK_UNTIL = '_lock_until' | 
| const | GLUE = '|||||' | 
| const | STRING_PREFIX = 'string' | 
| const | ARRAY_PREFIX = 'array' | 
| const | INT_PREFIX = 'int' | 
| const | BOOL_PREFIX = 'bool' | 
| const | NULL_PREFIX = 'null' | 
| const | TRUE = 'true' | 
| const | FALSE = 'false' | 
| ILIAS Data Factory | $data_factory | 
| Transformation | $null_trafo | 
| string | $prefix_pattern | 
| float | $lock_cache = null | 
Definition at line 31 of file ActiveContainer.php.
| ILIAS\Cache\Container\ActiveContainer::__construct | ( | private Request | $request, | 
| private Adaptor | $adaptor, | ||
| private Config | $config | ||
| ) | 
Definition at line 49 of file ActiveContainer.php.
      
  | 
  protected | 
Definition at line 161 of file ActiveContainer.php.
References ILIAS\Cache\Container\ActiveContainer\getNullFallback().
Referenced by ILIAS\Cache\Container\ActiveContainer\get().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\Cache\Container\ActiveContainer::delete | ( | string | $key | ) | 
Deletes the value for the given key.
Implements ILIAS\Cache\Container\Container.
Definition at line 244 of file ActiveContainer.php.
References ILIAS\LTI\ToolProvider\$key, and ILIAS\Cache\Container\ActiveContainer\isLocked().
 Here is the call graph for this function:| ILIAS\Cache\Container\ActiveContainer::flush | ( | ) | 
Deletes all values in the container.
Implements ILIAS\Cache\Container\Container.
Definition at line 252 of file ActiveContainer.php.
| ILIAS\Cache\Container\ActiveContainer::get | ( | string | $key, | 
| Transformation | $transformation | ||
| ) | 
Returns the value for the given key, or null if the key does not exist.
Implements ILIAS\Cache\Container\Container.
Definition at line 213 of file ActiveContainer.php.
References ILIAS\LTI\ToolProvider\$key, ILIAS\Cache\Container\ActiveContainer\buildFinalTransformation(), ILIAS\Cache\Container\ActiveContainer\has(), ILIAS\Cache\Container\ActiveContainer\isLocked(), and ILIAS\Cache\Container\ActiveContainer\unpack().
 Here is the call graph for this function:| ILIAS\Cache\Container\ActiveContainer::getAdaptorName | ( | ) | 
Returns the name of the adaptop used (such as apc, memcache, phpstatic)
Implements ILIAS\Cache\Container\Container.
Definition at line 257 of file ActiveContainer.php.
| ILIAS\Cache\Container\ActiveContainer::getContainerName | ( | ) | 
Returns the name of the container.
Implements ILIAS\Cache\Container\Container.
Definition at line 262 of file ActiveContainer.php.
      
  | 
  protected | 
Definition at line 170 of file ActiveContainer.php.
References ILIAS\Cache\Container\ActiveContainer\$null_trafo.
Referenced by ILIAS\Cache\Container\ActiveContainer\buildFinalTransformation().
 Here is the caller graph for this function:| ILIAS\Cache\Container\ActiveContainer::has | ( | string | $key | ) | 
Returns true if the container contains a value for the given key.
Implements ILIAS\Cache\Container\Container.
Definition at line 204 of file ActiveContainer.php.
References ILIAS\LTI\ToolProvider\$key, and ILIAS\Cache\Container\ActiveContainer\isLocked().
Referenced by ILIAS\Cache\Container\ActiveContainer\get().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\Cache\Container\ActiveContainer::isLocked | ( | ) | 
Returns true if the container is locked.
Implements ILIAS\Cache\Container\Container.
Definition at line 175 of file ActiveContainer.php.
Referenced by ILIAS\Cache\Container\ActiveContainer\delete(), ILIAS\Cache\Container\ActiveContainer\get(), ILIAS\Cache\Container\ActiveContainer\has(), and ILIAS\Cache\Container\ActiveContainer\set().
 Here is the caller graph for this function:| ILIAS\Cache\Container\ActiveContainer::lock | ( | float | $seconds | ) | 
Locks the container for a given amount of seconds (max 300), in this time, get() will return null and has() will return false.
Implements ILIAS\Cache\Container\Container.
Definition at line 195 of file ActiveContainer.php.
      
  | 
  private | 
Definition at line 68 of file ActiveContainer.php.
References ILIAS\Cache\Container\ActiveContainer\packRecursive().
Referenced by ILIAS\Cache\Container\ActiveContainer\packRecursive(), and ILIAS\Cache\Container\ActiveContainer\set().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 93 of file ActiveContainer.php.
References ILIAS\Cache\Container\ActiveContainer\pack().
Referenced by ILIAS\Cache\Container\ActiveContainer\pack().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\Cache\Container\ActiveContainer::set | ( | string | $key, | 
| string|int|array|bool|null | $value, | ||
| ?int | $ttl = null  | 
        ||
| ) | 
Sets the value for the given key.
Implements ILIAS\Cache\Container\Container.
Definition at line 229 of file ActiveContainer.php.
References ILIAS\LTI\ToolProvider\$key, ILIAS\Cache\Container\ActiveContainer\isLocked(), and ILIAS\Cache\Container\ActiveContainer\pack().
 Here is the call graph for this function:| ILIAS\Cache\Container\ActiveContainer::unlock | ( | ) | 
Definition at line 270 of file ActiveContainer.php.
      
  | 
  private | 
Definition at line 115 of file ActiveContainer.php.
References ILIAS\Cache\Container\ActiveContainer\unpackRecursive(), and ILIAS\Cache\Container\ActiveContainer\unprefix().
Referenced by ILIAS\Cache\Container\ActiveContainer\get(), and ILIAS\Cache\Container\ActiveContainer\unpackRecursive().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 149 of file ActiveContainer.php.
References ILIAS\Cache\Container\ActiveContainer\unpack().
Referenced by ILIAS\Cache\Container\ActiveContainer\unpack().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 105 of file ActiveContainer.php.
Referenced by ILIAS\Cache\Container\ActiveContainer\unpack().
 Here is the caller graph for this function:Definition at line 43 of file ActiveContainer.php.
      
  | 
  private | 
Definition at line 47 of file ActiveContainer.php.
      
  | 
  private | 
Definition at line 44 of file ActiveContainer.php.
Referenced by ILIAS\Cache\Container\ActiveContainer\getNullFallback().
      
  | 
  private | 
Definition at line 45 of file ActiveContainer.php.
      
  | 
  private | 
Definition at line 36 of file ActiveContainer.php.
      
  | 
  private | 
Definition at line 38 of file ActiveContainer.php.
      
  | 
  private | 
Definition at line 41 of file ActiveContainer.php.
      
  | 
  private | 
Definition at line 34 of file ActiveContainer.php.
      
  | 
  private | 
Definition at line 37 of file ActiveContainer.php.
      
  | 
  private | 
Definition at line 33 of file ActiveContainer.php.
      
  | 
  private | 
Definition at line 39 of file ActiveContainer.php.
      
  | 
  private | 
Definition at line 35 of file ActiveContainer.php.
      
  | 
  private | 
Definition at line 40 of file ActiveContainer.php.