Overview

Packages

  • application
    • commands
    • components
      • actions
      • filters
      • leftWidget
      • permissions
      • sortableWidget
      • util
      • webupdater
      • x2flow
        • actions
        • triggers
      • X2GridView
      • X2Settings
    • controllers
    • models
      • embedded
    • modules
      • accounts
        • controllers
        • models
      • actions
        • controllers
        • models
      • calendar
        • controllers
        • models
      • charts
        • models
      • contacts
        • controllers
        • models
      • docs
        • components
        • controllers
        • models
      • groups
        • controllers
        • models
      • marketing
        • components
        • controllers
        • models
      • media
        • controllers
        • models
      • mobile
        • components
      • opportunities
        • controllers
        • models
      • products
        • controllers
        • models
      • quotes
        • controllers
        • models
      • services
        • controllers
        • models
      • template
        • models
      • users
        • controllers
        • models
      • workflow
        • controllers
        • models
      • x2Leads
        • controllers
        • models
  • None
  • system
    • base
    • caching
    • console
    • db
      • ar
      • schema
    • validators
    • web
      • actions
      • auth
      • helpers
      • widgets
        • captcha
        • pagers
  • zii
    • widgets
      • grid

Classes

  • ActionsWidget
  • CallsWidget
  • ChartWidget
  • CommentsWidget
  • EmailsWidget
  • EventsWidget
  • InlineRelationshipsWidget
  • InlineTagsWidget
  • LoggedTimeWidget
  • PublisherWidget
  • QuotesWidget
  • SortableWidget
  • TransactionalViewWidget
  • TwitterFeedWidget
  • WebActivityWidget
  • WorkflowStageDetailsWidget
  • Overview
  • Package
  • Class
  • Tree

Class PublisherWidget

Base widget class for all of the profile widgets

CComponent
Extended by CBaseController
Extended by CWidget
Extended by X2Widget
Extended by SortableWidget
Extended by PublisherWidget
Package: application\components\sortableWidget
Located at x2engine/protected/components/sortableWidget/recordViewWidgets/PublisherWidget.php
Methods summary
public array
# getViewFileParams( )

Magic getter. Returns an array of parameters which should be passed to the view file associated with this
widget.

Magic getter. Returns an array of parameters which should be passed to the view file associated with this widget.

Returns

array
The value stored in $_viewFileParams

Overrides

SortableWidget::getViewFileParams()
public static
# getJSONPropertiesStructure( )

Returns

array the property _JSONPropertiesStructure

Overrides

SortableWidget::getJSONPropertiesStructure()
public
# run( )

Render the widget container view

Render the widget container view

Overrides

SortableWidget::run()
Methods inherited from SortableWidget
addError(), addPackage(), createSortableWidget(), deleteSortableWidget(), getCreatableWidgetOptions(), getCss(), getJSInstanceName(), getJSONProperties(), getJSONProperty(), getJSSortableWidgetParams(), getMinimized(), getPackages(), getParentType(), getPathAlias(), getSettingsMenuContent(), getSettingsMenuContentDialogs(), getSettingsMenuContentEntries(), getSetupScript(), getSharedCss(), getSharedCssFileNames(), getSharedViewFile(), getTranslations(), getWidgetContents(), getWidgetKey(), getWidgetLabel(), getWidgetProperties(), getWidgetProperty(), getWidgetSubtypeOptions(), getWidgetSubtypes(), hasError(), init(), instantiateWidget(), parseWidgetLayoutKey(), registerCss(), registerSharedCss(), renderCloseButton(), renderErrors(), renderMinimizeButton(), renderSettingsMenu(), renderWidget(), renderWidgetContents(), renderWidgetLabel(), setJSONProperties(), setMinimized(), setPackages(), setSharedViewFile(), setSortOrder(), setWidgetProperties(), setWidgetProperty(), subtypeIsValid()
Methods inherited from X2Widget
__construct(), ajaxRender(), behaviors(), getModule(), renderFile(), setModule()
Methods inherited from CWidget
actions(), getController(), getId(), getOwner(), getViewFile(), getViewPath(), render(), setId()
Methods inherited from CBaseController
beginCache(), beginClip(), beginContent(), beginWidget(), createWidget(), endCache(), endClip(), endContent(), endWidget(), renderInternal(), widget()
Methods inherited from CComponent
__call(), __get(), __isset(), __set(), __unset(), asa(), attachBehavior(), attachBehaviors(), attachEventHandler(), canGetProperty(), canSetProperty(), detachBehavior(), detachBehaviors(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), getEventHandlers(), hasEvent(), hasEventHandler(), hasProperty(), raiseEvent()
Constants inherited from SortableWidget
PROFILE_WIDGET_PATH_ALIAS, RECORD_VIEW_WIDGET_PATH_ALIAS
Properties summary
public CActiveRecord $model
#

$model

$model

public string $template '{widgetContents}'
#

A mixture of html and attributes inside curly braces. This gets used by renderWidget to render widget elements specified in child classes. As with X2GridView, each attribute inside curly braces should have a corresponding method called render<attribute_name>.

A mixture of html and attributes inside curly braces. This gets used by renderWidget to render widget elements specified in child classes. As with X2GridView, each attribute inside curly braces should have a corresponding method called render<attribute_name>.

public string $viewFile '_publisherWidget'
#

The name of the view file containing the widget contents

The name of the view file containing the widget contents

protected string $containerClass 'sortable-widget-container x2-layout-island history'
#

CSS class to be added to the container element

CSS class to be added to the container element

Properties inherited from SortableWidget
$_JSSortableWidgetParams, $_css, $_packages, $_settingsFormFields, $_setupScript, $_sharedCss, $_sharedCssFileNames, $_sharedViewFile, $_translations, $_viewFileParams, $canBeCreated, $canBeDeleted, $createByDefault, $defaultTitle, $info, $isAjaxRequest, $profile, $relabelingEnabled, $sortableWidgetJSClass, $widgetManager, $widgetType, $widgetUID
Properties inherited from X2Widget
$_module
Properties inherited from CWidget
$actionPrefix, $skin
Magic properties inherited from X2Widget
$module
Magic properties inherited from CWidget
$controller, $id, $owner, $viewPath
X2CRM Documentation API documentation generated by ApiGen 2.8.0