Class Mage_Widget_Model_Widget_Config

Description

Widgets Insertion Plugin Config for Editor HTML Element

Located in /Widget/Model/Widget/Config.php (line 34)

Varien_Object
   |
   --Mage_Widget_Model_Widget_Config
Method Summary
array decodeWidgetsFromQuery (string $queryParam)
string encodeWidgetsToQuery (array $widgets)
array getPluginSettings (Varien_Object $config)
string getWidgetWindowUrl (Varien_Object $config)
Methods
decodeWidgetsFromQuery (line 145)

Decode URL query param and return list of widgets

  • return: Array of widget types
  • access: public
array decodeWidgetsFromQuery (string $queryParam)
  • string $queryParam: Query param value to decode
encodeWidgetsToQuery (line 132)

Encode list of widget types into query param

  • return: Query param value
  • access: public
string encodeWidgetsToQuery (array $widgets)
  • array $widgets: List of widgets
getAvailablePlaceholderFilenames (line 80)

Return list of existing widget image placeholders

  • access: public
array getAvailablePlaceholderFilenames ()
getPlaceholderImagesBaseDir (line 70)

Return Widget placeholders images dir

  • access: public
string getPlaceholderImagesBaseDir ()
getPlaceholderImagesBaseUrl (line 60)

Return Widget placeholders images URL

  • access: public
string getPlaceholderImagesBaseUrl ()
getPluginSettings (line 43)

Return config settings for widgets insertion plugin based on editor element config

  • access: public
array getPluginSettings (Varien_Object $config)
  • Varien_Object $config
getWidgetWindowUrl (line 104)

Return Widgets Insertion Plugin Window URL

  • access: public
string getWidgetWindowUrl (Varien_Object $config)
  • Varien_Object $config: Editor element config

Documentation generated on Fri, 11 Feb 2011 16:59:19 +0200 by phpDocumentor 1.4.3