|
| | __construct ($identifier, $instance=NULL, $captions=NULL) |
| |
| | moveFieldTo ($from, $to) |
| |
| | swapFields ($index1, $index2) |
| |
| | removeField ($index) |
| |
| | getValues () |
| |
| | getIdentifier ($index=NULL) |
| |
| | getValue ($index) |
| |
| | insertField ($index, $field, $key=null) |
| |
| | sortColumnContent ($index, $array) |
| |
| | insertInField ($index, $field, $key=null) |
| |
| | addField ($field, $key=null) |
| |
| | addFields ($fields) |
| |
| | count () |
| |
| | visiblePropertiesCount () |
| |
| | getProperty ($index) |
| |
| | getFieldName ($index) |
| |
| | setInstance ($instance) |
| |
| | setVisibleProperties ($visibleProperties) |
| |
| | setValueFunction ($index, $callback) |
| |
| | setIdentifierFunction ($callback) |
| |
| | getProperties () |
| |
| | getCaption ($index) |
| |
| | getCaptions () |
| |
| | setCaption ($index, $caption) |
| |
| | setCaptions ($captions) |
| |
| | afterCompile ($index, $callback) |
| | Associates a $callback function after the compilation of the field at $index position The $callback function can take the following arguments : $field=>the compiled field, $instance : the active instance of the object, $index: the field position.
|
| |
| | setCaptionCallback ($captionCallback) |
| | Defines a callback function to call for modifying captions function parameters are.
|
| |
| | setDefaultValueFunction ($defaultValueFunction) |
| | Defines the default function which displays fields value.
|
| |
| | getVisibleProperties () |
| |
| | getSimpleProperties () |
| |
| | getDefaultValueFunction () |
| |
| | getGroupByFields () |
| |
| | setGroupByFields ($groupByFields) |
| |
| | addGroupBy ($groupByField) |
| |
| | getGroupByFieldsCount () |
| |
Definition at line 8 of file InstanceViewer.php.
◆ __construct()
| __construct |
( |
|
$identifier, |
|
|
|
$instance = NULL, |
|
|
|
$captions = NULL |
|
) |
| |
◆ _beforeAddProperty()
| _beforeAddProperty |
( |
|
$index, |
|
|
& |
$field |
|
) |
| |
|
protected |
◆ _getDefaultValue()
| _getDefaultValue |
( |
|
$name, |
|
|
|
$value, |
|
|
|
$index |
|
) |
| |
|
protected |
◆ _getPropertyValue()
◆ _getValue()
| _getValue |
( |
|
$property, |
|
|
|
$index |
|
) |
| |
|
protected |
◆ _postGetValue()
| _postGetValue |
( |
|
$index, |
|
|
|
$propertyName, |
|
|
|
$value |
|
) |
| |
|
protected |
◆ addField()
| addField |
( |
|
$field, |
|
|
|
$key = null |
|
) |
| |
◆ addFields()
◆ addGroupBy()
| addGroupBy |
( |
|
$groupByField | ) |
|
◆ afterCompile()
| afterCompile |
( |
|
$index, |
|
|
|
$callback |
|
) |
| |
Associates a $callback function after the compilation of the field at $index position The $callback function can take the following arguments : $field=>the compiled field, $instance : the active instance of the object, $index: the field position.
- Parameters
-
| int | $index | postion of the compiled field |
| callable | $callback | function called after the field compilation |
- Returns
- InstanceViewer
Definition at line 394 of file InstanceViewer.php.
◆ count()
◆ getCaption()
◆ getCaptions()
◆ getDefaultProperties()
◆ getDefaultValueFunction()
| getDefaultValueFunction |
( |
| ) |
|
◆ getFieldName()
◆ getGroupByFields()
◆ getGroupByFieldsCount()
| getGroupByFieldsCount |
( |
| ) |
|
◆ getIdentifier()
| getIdentifier |
( |
|
$index = NULL | ) |
|
◆ getProperties()
◆ getProperty()
◆ getSimpleProperties()
◆ getValue()
◆ getValues()
◆ getVisibleProperties()
◆ insertField()
| insertField |
( |
|
$index, |
|
|
|
$field, |
|
|
|
$key = null |
|
) |
| |
◆ insertInField()
| insertInField |
( |
|
$index, |
|
|
|
$field, |
|
|
|
$key = null |
|
) |
| |
◆ moveFieldTo()
| moveFieldTo |
( |
|
$from, |
|
|
|
$to |
|
) |
| |
◆ removeField()
◆ setCaption()
| setCaption |
( |
|
$index, |
|
|
|
$caption |
|
) |
| |
◆ setCaptionCallback()
| setCaptionCallback |
( |
|
$captionCallback | ) |
|
Defines a callback function to call for modifying captions function parameters are.
$captions: the captions to modify and $instance: the active model instance
- Parameters
-
- Returns
- \Ajax\semantic\widgets\base\InstanceViewer
Definition at line 406 of file InstanceViewer.php.
◆ setCaptions()
◆ setDefaultValueFunction()
| setDefaultValueFunction |
( |
|
$defaultValueFunction | ) |
|
Defines the default function which displays fields value.
- Parameters
-
| callable | $defaultValueFunction | function parameters are : $name : the field name, $value : the field value ,$index : the field index, $instance : the active instance of model |
- Returns
- \Ajax\semantic\widgets\base\InstanceViewer
Definition at line 418 of file InstanceViewer.php.
◆ setGroupByFields()
| setGroupByFields |
( |
|
$groupByFields | ) |
|
◆ setIdentifierFunction()
| setIdentifierFunction |
( |
|
$callback | ) |
|
◆ setIndex()
◆ setInstance()
◆ setInstanceProperty()
| setInstanceProperty |
( |
|
$property | ) |
|
|
private |
◆ setValueFunction()
| setValueFunction |
( |
|
$index, |
|
|
|
$callback |
|
) |
| |
◆ setVisibleProperties()
| setVisibleProperties |
( |
|
$visibleProperties | ) |
|
◆ showableProperty()
◆ sortColumnContent()
| sortColumnContent |
( |
|
$index, |
|
|
|
$array |
|
) |
| |
◆ swapFields()
| swapFields |
( |
|
$index1, |
|
|
|
$index2 |
|
) |
| |
◆ visiblePropertiesCount()
| visiblePropertiesCount |
( |
| ) |
|
◆ $afterCompile
◆ $captionCallback
◆ $captions
◆ $defaultValueFunction
◆ $groupByFields
◆ $index
◆ $instance
◆ $properties
◆ $reflect
◆ $values
◆ $visibleProperties
◆ $widgetIdentifier
The documentation for this class was generated from the following file: