Class AGridLayout

Description

Lays out the widgets in a grid

Located in /lib/layouts/AGridLayout.php (line 16)

AObject
   |
   --ALayout
      |
      --AGridLayout
Variable Summary
 mixed $col
 mixed $rows
Method Summary
 void addWidget (AWidget $widget, int $row, int $col, [int|null $colspan = null])
 string render ()
Variables
mixed $col (line 19)
  • access: private
mixed $rows (line 20)
  • access: private

Inherited Variables

Inherited from ALayout

ALayout::$widget
ALayout::$__widgets

Inherited from AObject

AObject::$__connections
AObject::$__objectID
AObject::$__signalDefinitions
Methods
addWidget (line 30)

adds widgets to the layout.

  • access: public
void addWidget (AWidget $widget, int $row, int $col, [int|null $colspan = null])
  • AWidget $widget: the parent widget
  • int $row: the row (starting at 0)
  • int $col: the column (starting at 0)
  • int|null $colspan: Number of columns the widget spans. Optional.

Redefinition of:
ALayout::addWidget()
Adds a child widget
render (line 48)

Renders the

  • access: public
string render ()

Redefinition of:
ALayout::render()
renders the widget, returns the output as a string

Inherited Methods

Inherited From ALayout

 ALayout::__construct()
 ALayout::addWidget()
 ALayout::clearWidgets()
 ALayout::getAttributeHTML()
 ALayout::getMainWidget()
 ALayout::getWidget()
 ALayout::getWidgets()
 ALayout::render()
 ALayout::setWidgets()

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