Properties

option

protected \App\Infrastructure\Services\Options $option

dfdb

protected \Qubus\Expressive\Database $dfdb

view

protected \Qubus\View\Renderer $view

Methods

__construct

public __construct(\App\Infrastructure\Services\Options $option, \Qubus\Expressive\Database $dfdb, \Qubus\View\Renderer $view): mixed

Parameters:

Parameter Type Description
$option \App\Infrastructure\Services\Options
$dfdb \Qubus\Expressive\Database
$view \Qubus\View\Renderer

onActivation

Code that should run on activation.

public onActivation(): void

onDeactivation

Code that should run on deactivation.

public onDeactivation(): void

id

Plugin's id.

protected id(): string

name

Plugin's name

protected name(): string

path

The plugin's directory path.

protected path(): string

route

Plugin's route for submenu.

protected route(): string

url

Plugin's url.

protected url(): string

Inherited methods

currentPath

public static currentPath(): string

isPath

public static isPath(string|array $paths): bool
  • This method is static. Parameters:
Parameter Type Description
$paths string|array

Throws: