TimeLineTable
Table of Contents
Methods
- getClosestWorkHour() : string|bool
- Gets first work day in the past.
- getDateClient() : string
- Returns client's date.
- getDateTimeClient() : string
- Returns client's date and time.
- getStages() : array<string|int, mixed>
- Gets stages for timeline.
- setDateClient() : void
- Sets client's date.
- setDateTimeClient() : void
- Sets client's date and time.
Methods
getClosestWorkHour()
Gets first work day in the past.
public
static getClosestWorkHour(int $timeStamp) : string|bool
Parameters
- $timeStamp : int
-
Timestamp.
Return values
string|boolgetDateClient()
Returns client's date.
public
static getDateClient() : string
Return values
stringgetDateTimeClient()
Returns client's date and time.
public
static getDateTimeClient() : string
Return values
stringgetStages()
Gets stages for timeline.
public
static getStages() : array<string|int, mixed>
Return values
array<string|int, mixed>setDateClient()
Sets client's date.
public
static setDateClient(string $dateClient) : void
Parameters
- $dateClient : string
-
Client's date.
setDateTimeClient()
Sets client's date and time.
public
static setDateTimeClient(string $timeClient) : void
Parameters
- $timeClient : string
-
Client's date.