class Events (View source)

Functions for event management.

Properties

array<string,array<int,string>> $status
array<int,string> $type
array<int,string> $interval

Methods

__construct(DatabaseInterface $dbi)

No description

string
handleEditor()

Handles editor requests for adding or editing an item

array
getDataFromRequest()

This function will generate the values that are required to for the editor

array|null
getDataFromName(string $name)

This function will generate the values that are required to complete the "Edit event" form given the name of a event.

string
getQueryFromRequest()

Composes the query necessary to create an event from an HTTP request.

bool
getEventSchedulerStatus()

No description

array
getDetails(string $db, string $name = '')

Returns details about the EVENTs for a specific database.

static string|null
getDefinition(DatabaseInterface $dbi, string $db, string $name)

No description

int
getErrorCount()

No description

Details

__construct(DatabaseInterface $dbi)

No description

Parameters

DatabaseInterface $dbi

string handleEditor()

Handles editor requests for adding or editing an item

Return Value

string

array getDataFromRequest()

This function will generate the values that are required to for the editor

Return Value

array

Data necessary to create the editor.

array|null getDataFromName(string $name)

This function will generate the values that are required to complete the "Edit event" form given the name of a event.

Parameters

string $name

The name of the event.

Return Value

array|null

Data necessary to create the editor.

string getQueryFromRequest()

Composes the query necessary to create an event from an HTTP request.

Return Value

string

The CREATE EVENT query.

bool getEventSchedulerStatus()

No description

Return Value

bool

array getDetails(string $db, string $name = '')

Returns details about the EVENTs for a specific database.

Parameters

string $db

db name

string $name

event name

Return Value

array

static string|null getDefinition(DatabaseInterface $dbi, string $db, string $name)

No description

Parameters

DatabaseInterface $dbi
string $db
string $name

Return Value

string|null

int getErrorCount()

No description

Return Value

int