Table_Registrar implements Registerable, Core_Service

Registers DLA file content table with DVE installer.

This must run as a core service so the installer filter exists before DVE_Installer::install() executes on plugins_loaded.

Tags
author

Barn2 Plugins [email protected]

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
Core_Service

Table of Contents

register()  : mixed
{@inheritdoc}
register_table()  : array<string|int, mixed>
Add the file content table to DVE installer tables.

Methods

register()

{@inheritdoc}

public register() : mixed
Tags
Return values
mixed

register_table()

Add the file content table to DVE installer tables.

public register_table(array<string|int, mixed> $tables, string $prefix, array<string|int, mixed> $_config) : array<string|int, mixed>
Parameters
$tables : array<string|int, mixed>

Existing table instances.

$prefix : string

Plugin prefix.

$_config : array<string|int, mixed>

Installer config.

Tags
Return values
array<string|int, mixed>

Search results