eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZMatrix

class eZMatrix

Properties

$Name
$Matrix
$NumColumns
$NumRows
$Cells

Methods

eZMatrix($name, $numRows = false, $matrixColumnDefinition = false)

adjustColumnIndex($columnIndex, $newColumnIndex)

setColumnIndex($columnIndex, $newColumnIndex)

addColumn($columnDefinition)

addColumnToMatrix($columnDefinition)

addColumnToCells($columnDefinition)

adjustColumnName($columnIndex, $newColumnName)

setColumnName($columnIndex, $newColumnName)

adjustColumnsToDefinition($classColumnsDefinition)

buildReorderRuleForColumn($columns, $pos)

buildReorderRules()

reorderColumns()

hasRuleForColumn($rules, $pos)

setColumn($colIdx, $column)

column($colIdx)

copyDataBetweenColumns($firstColIdx, $secondColIdx)

removeUselessColumns($matrixColumnDefinition)

getColumnsToRemove($matrixColumnsDefinition)

removeColumn($columnDefinition)

setName($name)

name()

attributes()

hasAttribute($name)

attribute($name)

addRow($beforeIndex = false, $addCount = 1)

removeRow($rowNum)

decodeXML($xmlString)

domString($domDocument)

xmlString()

Details

at line 23
public eZMatrix($name, $numRows = false, $matrixColumnDefinition = false)

Parameters

$name
$numRows
$matrixColumnDefinition

at line 70
public adjustColumnIndex($columnIndex, $newColumnIndex)

Parameters

$columnIndex
$newColumnIndex

at line 85
public setColumnIndex($columnIndex, $newColumnIndex)

Parameters

$columnIndex
$newColumnIndex

at line 122
public addColumn($columnDefinition)

Parameters

$columnDefinition

at line 132
public addColumnToMatrix($columnDefinition)

Parameters

$columnDefinition

at line 144
public addColumnToCells($columnDefinition)

Parameters

$columnDefinition

at line 168
public adjustColumnName($columnIndex, $newColumnName)

Parameters

$columnIndex
$newColumnName

at line 183
public setColumnName($columnIndex, $newColumnName)

Parameters

$columnIndex
$newColumnName

at line 198
public adjustColumnsToDefinition($classColumnsDefinition)

Parameters

$classColumnsDefinition

at line 223
public buildReorderRuleForColumn($columns, $pos)

Parameters

$columns
$pos

at line 242
public buildReorderRules()

at line 264
public reorderColumns()

at line 298
public hasRuleForColumn($rules, $pos)

Parameters

$rules
$pos

at line 319
public setColumn($colIdx, $column)

Parameters

$colIdx
$column

at line 332
public column($colIdx)

Parameters

$colIdx

at line 408
public copyDataBetweenColumns($firstColIdx, $secondColIdx)

Parameters

$firstColIdx
$secondColIdx

at line 441
public removeUselessColumns($matrixColumnDefinition)

Parameters

$matrixColumnDefinition

at line 461
public getColumnsToRemove($matrixColumnsDefinition)

Parameters

$matrixColumnsDefinition

at line 521
public removeColumn($columnDefinition)

Parameters

$columnDefinition

at line 572
public setName($name)

Parameters

$name

at line 580
public name()

at line 585
public attributes()

at line 596
public hasAttribute($name)

Parameters

$name

at line 601
public attribute($name)

Parameters

$name

at line 641
public addRow($beforeIndex = false, $addCount = 1)

Parameters

$beforeIndex
$addCount

at line 677
public removeRow($rowNum)

Parameters

$rowNum

at line 690
public decodeXML($xmlString)

Parameters

$xmlString

at line 800
public domString($domDocument)

Parameters

$domDocument

at line 823
public xmlString()