Javascript for Episerver 7.5 cms

_GlobalToolbarCommandProvider (constructor)

Summary

Base class for command providers that adds command to the epi-cms/component/GlobalToolbar

Location

epi-cms/component/command/_GlobalToolbarCommandProvider

Extends

Properties

_attrPairNames

Used across all instances a hash to cache attribute names and their getter and setter names.

commands

module

epi-cms/component/command/_GlobalToolbarCommandProvider

Methods

public inherited method _changeAttrValue ( name , value )

Internal helper for directly changing an attribute value.

Parameters

public inherited method _get ( name , names )

Private function that does a get based off a hash of names

Parameters

public inherited method add ( _5 , _6 )

Parameters

public method addCommand ( command , settings )

Append the given command to the command list, uncategorized commands will be added to the "leading" category

Parameters

public method addToCenter ( command , settings )

Append the given command to the command list

Parameters

public method addToLeading ( command , settings )

Append the given command to the command list

Parameters

public method addToTrailing ( command , settings )

Append the given command to the command list

Parameters

public inherited method constructor ( )


public inherited method get ( name )

Get a property on a Stateful instance.

Parameters

public inherited method postscript ( params )

Parameters

public inherited method remove ( _9 , _a )

Parameters

public inherited method set ( name , value )

Set a property on a Stateful instance

Parameters

public inherited method updateCommandModel ( _4 )

Parameters

public inherited method watch ( name , callback )

Watches a property for changes

Parameters