...
The create() method accepts a few parameters, described below:
- $title - The title to display for the widget window
- $attributes - An array of HTML attributes to set for the widget's primary container (e.g. array('id' => "my_widget_id", 'class' => "my_widget_class")).
- $render - The are of the widget to render. This is necessary when renderings widgets via AJAX, so you can control the content that's replaced. Acceptable values include:
- 'full' - The default value, will render the entire widget
- 'content_section' - The full content including navigation (everything excluding box frame and title section)
- 'common_box_content' - The content only ('content_section' excluding the navigation)
...