pfeifferNet

Albums
in package

Define album taxonomy for attachments.

Creates taxonomy to organise attachments into albums.

Tags
since
1.0.0
5.5.0

Inherit standard singleton class.

5.11.0

Deprecated global singleton inheritance.

used-by
Album::__construct()

Table of Contents

Constants

TAXONOMY_NAME  : string = 'pgal_album'
The name of the album taxonomy.

Properties

$instances  : array<string|int, object>
The array of instances of this class and sub-classes.

Methods

deregister()  : void
Deregister the album custom taxonomy.
get_instance()  : object
Creates and/or returns the instance of this class.
get_name()  : string
Return custom taxonomy name.
register()  : void
Register album taxonomy.
__construct()  : void
Initialise the class.

Constants

TAXONOMY_NAME

The name of the album taxonomy.

protected string TAXONOMY_NAME = 'pgal_album'
Tags
since
5.9.0

Properties

$instances

The array of instances of this class and sub-classes.

protected static array<string|int, object> $instances = array()
Tags
since
5.11.0

Methods

get_instance()

Creates and/or returns the instance of this class.

public static get_instance() : object
Tags
since
5.11.0
Return values
object

The instance of this class.

__construct()

Initialise the class.

protected __construct() : void
Tags
since
5.11.0

        
On this page

Search results