This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Model_Layout

Concrete5_Library_Object
Extended by Object
Extended by Concrete5_Model_Layout

Direct known subclasses

Layout

Methods summary

public
# __construct( $params = array() )
public
public
public
public
public
public
public
public
public static
# getById( $layoutID )
public
public
# fill( $params = array( 'layoutID'=>0, 'type'=>'table','rows'=>3,'columns'=>3, 'breakpoints'=>array(), 'locked'=>0, 'lpID'=>0, 'lpName'=>'', 'spacing'=>0 ) )
public
# setAreaObj( $a )
public
public
public
# save( )
protected
public
public
# display( $c = NULL, $a = NULL )
protected
# getNextColWidth( $zeroIndexedColNum = 0, $cumulativeWidth = 0 )
public
# getCellAreaHandle( $cellNumber = 0 )
public
protected
# displayTableGrid( $rows = 3, $columns = 3, $c = NULL )
protected
protected
public
# deleteCellsBlocks( $c, $cellNumber = 0 )
public
# moveCellsBlocksToParent( $c, $cellNumber = 0 )
public static

Properties summary

public static string $tableName
# 'Layout'
public integer $layoutID
# 0
public string $type
# 'table'
public integer $columns
# 3
public integer $spacing
# 0
public integer $rows
# 3
public integer $locked
# 0
public array $layoutTypes
# array('area','table','columns','itemlist','staggered')
public array $breakpoints
# array()
public integer $areaNameNumber
# 0
public $parentAreaAttributes
#
public integer $position
# 1000
public integer $cvalID
# 0
protected integer $cellNum
# 0

Properties inherited from Concrete5_Library_Object

$error