Basic Api class providing default implementations

since 6.0.11
package MatukioEvents

 Methods

Default fallback function

_() : mixed
since 6.1.2

Returns

mixed

API constructor.

__construct($config = array()
since 6.1.2

Parameters

$config

Execute the given task in the class

execute(string $task) : void
since 6.1.2

Parameters

$task

string

The task

 Properties

 

Input

$db : \JInput

Default

since 6.1.2
 

The default task (can be overwritten in sub class)

$defaultTask : string

Default

'_'
since 6.1.2
 

Input

$input : \JInput

Default

since 6.1.2
 

The output, defaults to JSON

$output : string

Default

'json'
since 6.1.2
 

The request

$request : string

Default

since 6.1.2
 

Task to execute

$task : string

Default

since 6.1.2

Basic Api class providing default implementations

since 7.0.0
package MatukioEvents