PHP Class PressBooks\Shortcodes\Generics\Generics

ファイルを表示 Open project: pressbooks/pressbooks Class Usage Examples

Public Properties

Property Type Description
$instance - Static property to hold our singleton instance

Protected Properties

Property Type Description
$shortcodes

Public Methods

Method Description
__construct ( )
getInstance ( ) Adds shortcodes based on $self->generics.
shortcodeHandler ( $atts, $content = '', $shortcode )

Method Details

__construct() public method

public __construct ( )

getInstance() static public method

Adds shortcodes based on $self->generics.
static public getInstance ( )

shortcodeHandler() public method

public shortcodeHandler ( $atts, $content = '', $shortcode )

Property Details

$instance static_oe public_oe property

- Static property to hold our singleton instance
static public $instance

$shortcodes protected_oe property

protected $shortcodes