silverorange Code


Swat.SwatCellRendererMapping
/Swat/SwatCellRendererMapping.php at line 14

Class SwatCellRendererMapping

SwatObject
└─SwatCellRendererMapping

public class SwatCellRendererMapping
extends SwatObject

A mapping of a data field to property of a cell renderer.

Copyright:
2006 silverorange
License:
http://www.gnu.org/copyleft/lesser.html LGPL License 2.1

Field Summary
mixed

$array_key

The array key if the property is an indexed array.

string

$field

The name of the data field.

boolean

$is_array

Whether the property is an array.

string

$property

The name of the property.

Constructor Summary

SwatCellRendererMapping(string property, string field)

Create a new mapping object.

Field Detail

/Swat/SwatCellRendererMapping.php at line 44

array_key

public mixed $array_key = null

The array key if the property is an indexed array.


/Swat/SwatCellRendererMapping.php at line 30

field

public string $field

The name of the data field.


/Swat/SwatCellRendererMapping.php at line 37

is_array

public boolean $is_array = false

Whether the property is an array.


/Swat/SwatCellRendererMapping.php at line 23

property

public string $property

The name of the property.


Constructor Detail

/Swat/SwatCellRendererMapping.php at line 55

SwatCellRendererMapping

public SwatCellRendererMapping(string property, string field)

Create a new mapping object

Parameters:
property - the name of the property.
field - the name of the field.

silverorange Code