|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
A resource is something formulae can be loaded from. More...
Inheritance diagram for Assetic\Factory\Resource\FileResource:
Collaboration diagram for Assetic\Factory\Resource\FileResource:Public Member Functions | |
| __construct ($path) | |
| Constructor. More... | |
| isFresh ($timestamp) | |
| Checks if a timestamp represents the latest resource. More... | |
| getContent () | |
| Returns the content of the resource. More... | |
| __toString () | |
| Returns a unique string for the current resource. More... | |
| isFresh ($timestamp) | |
| Checks if a timestamp represents the latest resource. More... | |
| getContent () | |
| Returns the content of the resource. More... | |
| __toString () | |
| Returns a unique string for the current resource. More... | |
Private Attributes | |
| $path | |
A resource is something formulae can be loaded from.
Definition at line 19 of file FileResource.php.
| Assetic\Factory\Resource\FileResource::__construct | ( | $path | ) |
Constructor.
| string | $path | The path to a file |
Definition at line 28 of file FileResource.php.
References Assetic\Factory\Resource\FileResource\$path.
| Assetic\Factory\Resource\FileResource::__toString | ( | ) |
Returns a unique string for the current resource.
Implements Assetic\Factory\Resource\ResourceInterface.
Definition at line 43 of file FileResource.php.
References Assetic\Factory\Resource\FileResource\$path.
| Assetic\Factory\Resource\FileResource::getContent | ( | ) |
Returns the content of the resource.
Implements Assetic\Factory\Resource\ResourceInterface.
Definition at line 38 of file FileResource.php.
| Assetic\Factory\Resource\FileResource::isFresh | ( | $timestamp | ) |
Checks if a timestamp represents the latest resource.
| integer | $timestamp | A UNIX timestamp |
Implements Assetic\Factory\Resource\ResourceInterface.
Definition at line 33 of file FileResource.php.
References $timestamp.
|
private |
Definition at line 21 of file FileResource.php.
Referenced by Assetic\Factory\Resource\FileResource\__construct(), and Assetic\Factory\Resource\FileResource\__toString().