\TGMPA_Bulk_Installer_Skin

Installer skin to set strings for the bulk plugin installations.

.

Extends Bulk_Upgrader_Skin and customizes to suit the installation of multiple plugins.

Summary

Methods
Properties
Constants
__construct()
add_strings()
before()
after()
bulk_footer()
before_flush_output()
after_flush_output()
$plugin_info
$plugin_names
$i
No constants found
No protected methods found
$tgmpa
N/A
No private methods found
No private properties found
N/A

Properties

$plugin_info

$plugin_info : array

Holds plugin info for each individual plugin installation.

Type

array

$plugin_names

$plugin_names : array

Holds names of plugins that are undergoing bulk installations.

Type

array

$i

$i : integer

Integer to use for iteration through each plugin installation.

Type

integer

$tgmpa

$tgmpa : object

TGMPA instance

Type

object

Methods

__construct()

__construct(array $args)

Constructor. Parses default args with new ones and extracts them for use.

Parameters

array $args

Arguments to pass for use within the class.

add_strings()

add_strings()

Sets install skin strings for each individual plugin.

Checks to see if the automatic activation flag is set and uses the the proper strings accordingly.

before()

before(string $title)

Outputs the header strings and necessary JS before each plugin installation.

Parameters

string $title

Unused in this implementation.

after()

after(string $title)

Outputs the footer strings and necessary JS after each plugin installation.

Checks for any errors and outputs them if they exist, else output success strings.

Parameters

string $title

Unused in this implementation.

bulk_footer()

bulk_footer()

Outputs links after bulk plugin installation is complete.

before_flush_output()

before_flush_output()

Flush header output buffer.

after_flush_output()

after_flush_output()

Flush footer output buffer and iterate $this->i to make sure the installation strings reference the correct plugin.