PHP Class Apple_Actions\Action

Mostrar archivo 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_oe property

protected $settings