Class Index | File Index

Classes


Class media.plugin

The base class for all plugins.
Defined in: drupal.media.plugin.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
media.plugin(context, options)
Method Summary
Method Attributes Method Name and Description
 
The constructor which is called once the context is set.
 
setPlayer(player)
Sets the current media player.
Class Detail
media.plugin(context, options)
Parameters:
{object} context
The jQuery context.
{object} options
This components options.
Method Detail
construct()
The constructor which is called once the context is set. Any class deriving from the plugin class should place all context dependant functionality within this function instead of the standard constructor function since it is called on object derivation as well as object creation.

setPlayer(player)
Sets the current media player.
Parameters:
{object} player
The current media player.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Nov 22 2011 23:07:52 GMT+0100 (CET)