Class AWidgetDecorator

Description

An extendable widget decorator that does nothing. Extend it to create decorators that do things!

Located in /lib/AWidgetDecorator.php (line 10)

AObject
   |
   --AWidget
      |
      --AWidgetDecorator
Direct descendents
Class Description
 class ADraggableWidget A widget Decorator that allows widgets to be made draggable
Variable Summary
Method Summary
 AWidgetDecorator __construct (AWidget $widget)
 AWidget addAttribute (string $name)
 string getAttribute (string $name)
 void getAttributes ()
 void getLayout ()
 void redraw ()
 void render ()
 AWidget setAttribute (string $name, string $value)
 AWidget setLayout (unknown_type $layout)
 void setObjectID ( $id)
 void __call ( $name,  $args)
Variables
mixed $__childWidget (line 12)
  • access: protected

Inherited Variables

Inherited from AWidget

AWidget::$__attributes
AWidget::$__layout

Inherited from AObject

AObject::$__connections
AObject::$__objectID
AObject::$__signalDefinitions
Methods
Constructor __construct (line 14)
AWidgetDecorator __construct (AWidget $widget)

Redefinition of:
AWidget::__construct()
* Methods **

Redefined in descendants as:
addAttribute (line 53)

Enter description here...

  • access: public
AWidget addAttribute (string $name)
  • string $name

Redefinition of:
AWidget::addAttribute()
Enter description here...
getAttribute (line 64)

Enter description here...

  • access: public
string getAttribute (string $name)
  • string $name

Redefinition of:
AWidget::getAttribute()
Enter description here...
getAttributes (line 83)
  • access: public
void getAttributes ()

Redefinition of:
AWidget::getAttributes()
getLayout (line 88)
  • access: public
void getLayout ()

Redefinition of:
AWidget::getLayout()
redraw (line 98)
  • access: public
void redraw ()

Redefinition of:
AWidget::redraw()
render (line 43)

Calls render on the child widget

  • access: public
void render ()

Redefinition of:
AWidget::render()
setAttribute (line 76)

Enter description here...

  • access: public
AWidget setAttribute (string $name, string $value)
  • string $name
  • string $value

Redefinition of:
AWidget::setAttribute()
Enter description here...
setLayout (line 34)

Sets the layout on the child widget

  • access: public
AWidget setLayout (unknown_type $layout)
  • unknown_type $layout

Redefinition of:
AWidget::setLayout()
Enter description here...
setObjectID (line 94)
  • access: public
void setObjectID ( $id)
  • $id

Redefinition of:
AWidget::setObjectID()
__call (line 24)

Passes any method calls to the child widget

void __call ( $name,  $args)
  • $name
  • $args

Inherited Methods

Inherited From AWidget

 AWidget::__construct()
 AWidget::addAttribute()
 AWidget::getAttribute()
 AWidget::getAttributes()
 AWidget::getLayout()
 AWidget::redraw()
 AWidget::render()
 AWidget::setAttribute()
 AWidget::setLayout()
 AWidget::setObjectID()

Inherited From AObject

 AObject::__construct()
 AObject::addConnection()
 AObject::clearConnections()
 AObject::defineSignal()
 AObject::emit()
 AObject::getObjectID()
 AObject::hasConnection()
 AObject::setObjectID()
 AObject::__hasSignalDefinition()

Documentation generated on Fri, 11 Jul 2008 13:28:44 -0400 by phpDocumentor 1.4.2