pfeifferNet

Album
in package

Album functionality.

Tags
since
5.5.0
since
5.11.0

Deprecated global singleton.

used-by
Gallery::__construct()

Table of Contents

Properties

$instances  : array<string|int, object>
The array of instances of this class and sub-classes.
$taxonomy_definition  : Albums
The instance of the Albums taxonomy definition class.

Methods

get_content()  : array<string|int, mixed>
Return the attachments in an album.
get_instance()  : object
Creates and/or returns the instance of this class.
__construct()  : void
Initialise the class and set its properties.

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

$taxonomy_definition

The instance of the Albums taxonomy definition class.

protected Albums $taxonomy_definition
Tags
since
5.9.0

Methods

get_content()

Return the attachments in an album.

public get_content([string $album = '' ]) : array<string|int, mixed>
Parameters
$album : string = ''

The album to target.

Tags
since
1.0.0
uses
Albums::get_name()
used-by
Gallery::get_cards()
Return values
array<string|int, mixed>

An array of attachment objects.

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 and set its properties.

protected __construct() : void
Tags
since
5.9.0
uses
Albums

        
On this page

Search results