Class X2Widget
Base widget class for all of X2Engine's widgets
- CComponent
- CBaseController
- CWidget
- X2Widget
Direct known subclasses
ActionMenu, ActiveDateRangeInput, InlineActionForm, InlineEmailForm, InlineQuotes, MediaBox, MediaSelector, MenuList, MessageBox, MobileLayoutRenderer, MultiTypeAutocomplete, NoteBox, Attachments, OnlineUsers, Panel, Publisher, PublisherTab, QuickContact, RecordAliasesWidget, RecordView, RecordViewLayoutManager, Reminders, SmallCalendar, ChatBox, SocialForm, SortableWidget, SortableWidgetManager, TagCloud, TimeZone, TopSites, TwitterFeed, WebFormDesigner, X2ConditionList, X2ModelConversionWidget, ContactMapInlineTags, X2PillBox, X2ProgressBar, X2WidgetList, CronForm, DocViewer, EmailProgressControl, FileUploader, HistoryIndirect known subclasses
AccountsGridViewProfileWidget, ActionsGridViewProfileWidget, EmailsWidget, EventsChartProfileWidget, EventsWidget, FormView, GridViewWidget, IframeWidget, InlineRelationshipsWidget, InlineTagsWidget, LoggedTimeWidget, MarketingGridViewProfileWidget, ActionsWidget, MobileFormLayoutRenderer, MobileViewLayoutRenderer, ModelFileUploader, NewWebLeadsGridViewProfileWidget, OpportunitiesGridViewProfileWidget, ProfileGridViewWidget, ProfilesGridViewProfileWidget, PublisherActionTab, PublisherCalendarEventTab, PublisherCallTab, CallsWidget, PublisherCommentTab, PublisherEventTab, PublisherSmallCalendarEventTab, PublisherTimeTab, PublisherWidget, QuotesGridViewProfileWidget, QuotesWidget, RecordViewWidgetManager, ServicesGridViewProfileWidget, ServiceWebFormDesigner, ChartWidget, TemplatesGridViewProfileWidget, TransactionalViewWidget, TwitterFeedWidget, TwoColumnSortableWidgetManager, UsersChartProfileWidget, WebActivityWidget, WebLeadFormDesigner, WorkflowStageDetailsWidget, X2LeadsGridViewProfileWidget, CommentsWidget, ContactsGridViewProfileWidget, DetailView, DocsGridViewProfileWidget, DocViewerProfileWidget
public
|
|
public
|
|
public
string
|
#
renderFile( string $viewFile, array $data = null, boolean $return = false )
Renders a view file. Overrides CBaseController::renderFile to check if the requested view has a version in /custom, and uses that if it exists. |
public static
|
#
ajaxRender( function $function, mixed $return = false )
Runs an arbitrary function inside a partial view. All scripts registered get processed. Allows scripts associated with a widget to be returned in AJAX response. |
public
type
|
|
public
|
|
public
|
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
render(),
run(),
setId()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderInternal(),
widget()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
protected
mixed
|
$_module |
|
$actionPrefix,
$skin
|
public
|
$module |
$controller,
$id,
$owner,
$viewPath
|