PhpExt : Layout [ class tree ] [ index ] [ all elements ]

Class: PhpExt_Layout_ColumnLayoutData

Source Location: /PhpExt/Layout/ColumnLayoutData.php

Class PhpExt_Layout_ColumnLayoutData

Method Summary
PhpExt_Layout_ColumnLayoutData   __construct()   The layout will use the width (if pixels) or columnWidth (if percent) of each panel during layout to determine how to size each panel. If width or columnWidth is not specified for a given panel, its width will default to the panel's width (or auto).
float   getColumnWidth()   The layout will use the width (if pixels) or columnWidth (if percent) of each panel during layout to determine how to size each panel. If width or columnWidth is not specified for a given panel, its width will default to the panel's width (or auto).
PhpExt_Container   setColumnWidth()   The layout will use the width (if pixels) or columnWidth (if percent) of each panel during layout to determine how to size each panel. If width or columnWidth is not specified for a given panel, its width will default to the panel's width (or auto).

[ Top ]
Methods
Constructor __construct  [line 60]

  PhpExt_Layout_ColumnLayoutData __construct( float|integer $columnWidth  )

The layout will use the width (if pixels) or columnWidth (if percent) of each panel during layout to determine how to size each panel. If width or columnWidth is not specified for a given panel, its width will default to the panel's width (or auto).

The width property is always evaluated as pixels, and must be a number greater than or equal to 1. The columnWidth property is always evaluated as a percentage, and must be a decimal value greater than 0 and less than 1 (e.g., .25).

Parameters:
float|integer   $columnWidth:  float for percentage and int for absolute

API Tags:
Access:  public


Redefinition of:
PhpExt_Layout_ContainerLayoutData::__construct()

[ Top ]
getColumnWidth  [line 50]

  float getColumnWidth( )

The layout will use the width (if pixels) or columnWidth (if percent) of each panel during layout to determine how to size each panel. If width or columnWidth is not specified for a given panel, its width will default to the panel's width (or auto).

The width property is always evaluated as pixels, and must be a number greater than or equal to 1. The columnWidth property is always evaluated as a percentage, and must be a decimal value greater than 0 and less than 1 (e.g., .25).


API Tags:
See:  PhpExt_Layout_ColumnLayoutData
Access:  public


[ Top ]
setColumnWidth  [line 39]

  PhpExt_Container setColumnWidth( float $value  )

The layout will use the width (if pixels) or columnWidth (if percent) of each panel during layout to determine how to size each panel. If width or columnWidth is not specified for a given panel, its width will default to the panel's width (or auto).

The width property is always evaluated as pixels, and must be a number greater than or equal to 1. The columnWidth property is always evaluated as a percentage, and must be a decimal value greater than 0 and less than 1 (e.g., .25).

Parameters:
float   $value: 

API Tags:
See:  PhpExt_Layout_ColumnLayoutData
Access:  public


[ Top ]

Documentation generated on Fri, 08 Aug 2008 15:51:29 -0500 by phpDocumentor 1.4.0