Class DataObjectDecorator
Plug-ins for additional functionality in your DataObjects.
Note: DataObjectDecorators are not actually Decorators in the GoF Design Patterns sense of the word. A better name for this class would be DataExtension. However, in the interests of backward compatibility we haven't renamed the class.
- Extension
-
DataObjectDecorator
Direct known subclasses
AnnouncementDecorator,
AssetManagerFolder,
DataObjectSubsites,
DocumentSiteConfig,
ErrorPageSubsite,
ExtendGroupDiscount,
ExtendMemberCart,
ExtendProductSpecialCatalog,
FileDataObjectTrackingDecorator,
FileImportDecorator,
FileOversizeDecorator,
FileSubsites,
AttachedFiles,
FulltextSearchable,
GroupSubsites,
Hierarchy,
ImageAutoResize,
MemberActivation,
MemberSubsites,
MobileContentDecorator,
NewsletterRole,
OrderHandlersDecorator,
OrderItemVariationDecorator,
BaseObjectDecorator,
OrdersExportDecorator,
PageIcon,
PageWidgets,
PaymentMethodShippingDecorator,
PaymentOrderExtension,
PhotoAlbumProductLinkDecorator,
PhotoAlbumWidgetLinkDecorator,
Product3DDecorator,
ProductCatalogCatalogLinkedDecorator,
ProductImportV1Decorator,
CatalogCatalogLinkedDecorator,
ProductOldFieldsDecorator,
ProductProductLinkedDecorator,
ProductShippingDecorator,
RatingExtension,
SberbankPaymentDecorator,
SeoOpenGraphPageDecorator,
ShippingMemberDecorator,
ShippingMethodPaymentDecorator,
ShippingOrderDecorator,
SimpleOrderCatalogDecorator,
CatalogOldFieldsDecorator,
SimpleOrderProductDecorator,
SiteConfigDecorator,
SiteConfigSubsites,
SiteConfigWidgets,
SiteTreeDecorator,
SiteTreeImportDecorator,
SortableDataObject,
StaticPublisher,
SteppedCheckout_PageMessages,
Translatable,
CatalogProductLinkedDecorator,
Versioned,
VideoSiteConfig,
YaMoneyPaymentDecorator,
CatalogRubricsHomepageWidget_CatalogDecorator,
CommentsSiteConfig,
CustomMenuDecorator
Indirect known subclasses
AssociatedFolderDecorator,
AuthSiteConfig,
FindCyrillicSiteConfig,
GoogleSitemapDecorator,
ManagerEmailOrderNotification,
ManagerEmailOrderNotification_SiteConfig,
NewsSiteConfig,
Orders1CExchangeSiteConfig,
PaymentSiteConfig,
RealtySiteConfigDecorator,
RsyncMultiHostPublisher,
SeoOpenGraphSiteConfig,
BookingSiteConfig,
ShippingSiteConfig,
SiteTreeSubsites,
SMSCOrderNotification,
SMSCOrderNotification_SiteConfig,
SMSOrderNotification,
SMSOrderNotification_SiteConfig,
WatermarkSiteConfig,
WebylonSiteConfig,
YMLSiteConfig,
CartSiteConfig,
CatalogSiteConfig,
ClientEmailOrderNotification,
ClientEmailOrderNotification_SiteConfig,
ClientVKOrderNotification,
ClientVKOrderNotification_SiteConfig,
FilesystemPublisher
Methods summary
public static
|
#
load_extra_statics( string $class, string $extension )
Load the extra static definitions for the given extension class name, called
by |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
|
#
updateCMSFields(
This function is used to provide modifications to the form in the CMS by the decorator. By default, no changes are made. DataObject->getCMSFields(). |
public
|
#
updateFrontEndFields(
This function is used to provide modifications to the form used for front end forms. DataObject->getFrontEndFields() |
public
|
#
updateCMSActions(
This is used to provide modifications to the form actions used in the CMS. DataObject->getCMSActions(). |
public
|
#
updateSummaryFields( mixed & $fields )
this function is used to provide modifications to the summary fields in CMS by the decorator By default, the summaryField() of its owner will merge more fields defined in the decorator's $extra_fields['summary_fields'] |
public
|
#
updateFieldLabels( mixed & $lables )
this function is used to provide modifications to the fields labels in CMS by the decorator By default, the fieldLabels() of its owner will merge more fields defined in the decorator's $extra_fields['field_labels'] |
public
|
Methods inherited from Extension
__construct(),
clearOwner(),
getOwner(),
get_classname_without_arguments(),
setOwner()
Magic methods summary
Properties summary
protected static
array
|
$decoratable_statics |
#
Statics on a |