PHP Class PressBooks\Shortcodes\Generics\Generics

Afficher le fichier Open project: pressbooks/pressbooks Class Usage Examples

Méthodes publiques

Свойство Type Description
$instance - Static property to hold our singleton instance

Protected Properties

Свойство Type Description
$shortcodes

Méthodes publiques

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

Method Details

__construct() public méthode

public __construct ( )

getInstance() static public méthode

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

shortcodeHandler() public méthode

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