mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Clarify function of registerModificationDate()
This commit is contained in:
parent
3625b2553d
commit
513e0891d3
@ -109,8 +109,8 @@ class HTTPCacheControlMiddleware implements HTTPMiddleware, Resettable
|
||||
|
||||
/**
|
||||
* Forcing level of previous setting; higher number wins
|
||||
* Combination of consts belo
|
||||
*w
|
||||
* Combination of consts below
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
protected $forcingLevel = null;
|
||||
@ -257,7 +257,8 @@ class HTTPCacheControlMiddleware implements HTTPMiddleware, Resettable
|
||||
|
||||
|
||||
/**
|
||||
* Register a modification date. Used to calculate the Modification-Date http header
|
||||
* Register a modification date. Used to calculate the "Last-Modified" HTTP header.
|
||||
* Can be called multiple times, and will automatically retain the most recent date.
|
||||
*
|
||||
* @param string|int $date Date string or timestamp
|
||||
* @return HTTPCacheControlMiddleware
|
||||
|
Loading…
x
Reference in New Issue
Block a user