PHP Class Apple_Actions\Action

Show file Open project: alleyinteractive/apple-news Class Usage Examples

Protected Properties

Property Type Description
$settings

Public Methods

Method Description
__construct ( $settings ) Constructor.
perform ( ) Abstract function implemented by all child class to perform the given action.

Protected Methods

Method Description
get_setting ( $name ) Gets a setting by name which was loaded from WordPress options.

Method Details

__construct() public method

Constructor.
public __construct ( $settings )

get_setting() protected method

Gets a setting by name which was loaded from WordPress options.
Since: 0.4.0
protected get_setting ( $name )

perform() abstract public method

Abstract function implemented by all child class to perform the given action.
abstract public perform ( )

Property Details

$settings protected property

protected $settings