FacturaScripts

MyFilesToken
in package

Description of MyFilesToken

Table of Contents

Properties

$date  : string

Methods

get()  : string
getCurrentDate()  : string
getUrl()  : string
setCurrentDate()  : void
validate()  : bool
checkPath()  : void

Properties

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

getUrl()

public static getUrl(string $path, bool $permanent[, string $expiration = '' ]) : string
Parameters
$path : string
$permanent : bool
$expiration : string = ''
Return values
string

setCurrentDate()

public static setCurrentDate(string $date) : void
Parameters
$date : string

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

        
On this page

Search results