DB implements Standard_Service

Handles the registering of the front-end scripts and stylesheets.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Standard_Service

Table of Contents

$db  : DatabaseCapsule
Database Capsule
__construct()  : mixed
Constructor.
get_db()  : DatabaseCapsule
Get the database capsule.
query()  : Query
Get the query builder.
schema()  : Schema
Get the schema.
table()  : Query
Get the query builder.

Properties

$db

Database Capsule

private DatabaseCapsule $db
Tags

Methods

__construct()

Constructor.

public __construct() : mixed
Tags
Return values
mixed

get_db()

Get the database capsule.

public get_db() : DatabaseCapsule
Tags
Return values
DatabaseCapsule

query()

Get the query builder.

public query() : Query
Tags
Return values
Query

schema()

Get the schema.

public schema() : Schema
Tags
Return values
Schema

table()

Get the query builder.

public table(mixed $table) : Query
Parameters
$table : mixed
Tags
Return values
Query

Search results