BRICKOO::RemoveDecorator (since version 2.0)
Syntax
boolean RemoveDecorator ( object $object , string $decoratorName [, string $decoratorType = null ] )
Parameters
object
The object to remove the decorator from.
decoratorName
The decorator class name to remove from object.
decoratorType
The decorator type to select the decorator from.
If the decorator type is not given, BRICKOO::TYPE_OBJECT will be used.
If the decorator type is not given, BRICKOO::TYPE_OBJECT will be used.
Description
Removes an binded decorator of the given type from the object.
Return
boolean Returns true if available and removed, false on fail.
See also
Last change 10/12/2009