PHP Class Fragen\GitHub_Updater\Rest_Upgrader_Skin

Extends WP_Upgrader_Skin and collects outputed messages for later processing, rather than printing them out.
Inheritance: extends WP_Upgrader_Skin
Show file Open project: afragen/github-updater

Public Properties

Property Type Description
$error
$messages

Public Methods

Method Description
error ( $errors ) Set the error flag to true, then let the base class handle the rest.
feedback ( string $string ) Overrides the feedback method.
footer ( ) Do nothing.
header ( ) Do nothing.

Protected Methods

Method Description
decrement_update_count ( $type ) Do nothing.

Method Details

decrement_update_count() protected method

Do nothing.
protected decrement_update_count ( $type )
$type

error() public method

Set the error flag to true, then let the base class handle the rest.
public error ( $errors )
$errors

feedback() public method

Adds the feedback string to the messages array.
public feedback ( string $string )
$string string

header() public method

Do nothing.
public header ( )

Property Details

$error public property

public $error

$messages public property

public $messages