MyFilesToken
in package
Description of MyFilesToken
Tags
Table of Contents
- $date : string
- get() : string
- getCurrentDate() : string
- setCurrentDate() : void
- validate() : bool
- checkPath() : void
Properties
$date
private
static string
$date
Methods
get()
public
static get(string $path, bool $permanent[, string $expiration = '' ]) : string
Parameters
- $path : string
- $permanent : bool
- $expiration : string = ''
Return values
string —getCurrentDate()
public
static getCurrentDate() : string
Return values
string —setCurrentDate()
public
static setCurrentDate(string $date) : void
Parameters
- $date : string
Return values
void —validate()
public
static validate(string $path, string $token) : bool
Parameters
- $path : string
- $token : string
Return values
bool —checkPath()
private
static checkPath(string &$path) : void
Parameters
- $path : string