PHP Class ButtonBarPlugin, vanilla

Inheritance: extends Gdn_Plugin
Datei anzeigen Open project: vanilla/vanilla

Protected Properties

Property Type Description
$Formats array

Public Methods

Method Description
assetModel_styleCss_handler ( $Sender )
base_render_before ( Gdn_Controller $Sender ) Insert ButtonBar resource files on every page so they are available to any new uses of BodyBox in plugins and applications.
gdn_form_beforeBodyBox_handler ( Gdn_Controller $Sender ) Attach ButtonBar anywhere 'BodyBox' is used.

Protected Methods

Method Description
attachButtonBar ( Gdn_Controller $Sender, $Wrap = false ) Attach button bar in place
attachButtonBarResources ( Gdn_Controller $Sender, $Formatter ) Insert buttonbar resources

Method Details

assetModel_styleCss_handler() public method

public assetModel_styleCss_handler ( $Sender )

attachButtonBar() protected method

This method is abstracted because it is called from multiple places, due to the way that the comment.php view is invoked both by the DiscussionController and the PostController.
protected attachButtonBar ( Gdn_Controller $Sender, $Wrap = false )
$Sender Gdn_Controller

attachButtonBarResources() protected method

This method is abstracted because it is invoked by multiple controllers.
protected attachButtonBarResources ( Gdn_Controller $Sender, $Formatter )
$Sender Gdn_Controller

base_render_before() public method

Insert ButtonBar resource files on every page so they are available to any new uses of BodyBox in plugins and applications.
public base_render_before ( Gdn_Controller $Sender )
$Sender Gdn_Controller

gdn_form_beforeBodyBox_handler() public method

Attach ButtonBar anywhere 'BodyBox' is used.
public gdn_form_beforeBodyBox_handler ( Gdn_Controller $Sender )
$Sender Gdn_Controller

Property Details

$Formats protected_oe property

protected array $Formats
return array