Abstract Class ALayout

Description

Implements interfaces:

ALayout

The base class for all layouts

Located in /lib/ALayout.php (line 16)

AObject
   |
   --ALayout
Direct descendents
Class Description
 class AElementLayout AElementLayout
 class AGridLayout Lays out the widgets in a grid
 class AHTMLLayout AHTMLLayout
 class ASimpleLayout ASimpeLayout
 class ASingleWidgetLayout ASimpeLayout
 class AWindowLayout ALayout
Variable Summary
Method Summary
 void __construct (AWidget $parentWidget)
 void addWidget (AWidget $widget, [ $key = null])
 void clearWidgets ()
 void getMainWidget ()
 void getWidget (mixed $key)
 mixed getWidgets ()
 string render ()
 void setWidgets ( $widgets)
Variables
AWidget $widget (line 32)

The main widget this layout lays out

  • access: private
mixed $__widgets = array() (line 25)

Children widgets added to the layout

  • access: private

Inherited Variables

Inherited from AObject

AObject::$__connections
AObject::$__objectID
AObject::$__signalDefinitions
Methods
Constructor __construct (line 41)

__construct

  • access: public
void __construct (AWidget $parentWidget)

Redefinition of:
AObject::__construct()

Redefined in descendants as:
addWidget (line 83)

Adds a child widget

  • access: public
void addWidget (AWidget $widget, [ $key = null])

Redefined in descendants as:
clearWidgets (line 117)

Clears all child widgets

  • access: public
void clearWidgets ()
getAttributeHTML (line 105)

generates HTML for the main widget's attributes

  • access: public
void getAttributeHTML ()
getMainWidget (line 52)

Returns the main widget

  • access: public
void getMainWidget ()
getWidget (line 73)

getWidget Returns one widget in the layout

  • access: public
void getWidget (mixed $key)
  • mixed $key
getWidgets (line 61)

returns the children widget(s)

  • return: the children widget(s)
  • access: public
mixed getWidgets ()
render (line 96)

renders the widget, returns the output as a string

  • access: public
string render ()

Implementation of:
ARenderableInterface::render()

Redefined in descendants as:
setWidgets (line 122)
  • access: public
void setWidgets ( $widgets)
  • $widgets

Inherited Methods

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:41 -0400 by phpDocumentor 1.4.2