APP_Listing_Plans_Registry::decorate( APP_Listing_Plan_I $plan )
Decorates plan with custom behavioual objects.
Package
Description Description
Allows to plugins or modules extend standard plan object methods by using APP_Listing_Plan_Decorator classes. The decorator wraps given plan object by itself and can be wrapped by other decorator. Both plan object and decorators are using the same interface APP_Listing_Plan_I, therefore all original plan methods will be inherited by the decorator.
See also See also
Parameters Parameters
- $plan
(APP_Listing_Plan_I) (Required) Plan object to be decorated.
Return Return
(APP_Listing_Plan_I) Decorated plan object.