modules/ModuleBuilder/parsers/views/ListLayoutMetaDataParser.php
\ListLayoutMetaDataParser
Package:
- Parent(s)
- \AbstractMetaDataParser
- Children
- \SubpanelMetaDataParser
- \SearchViewMetaDataParser
- \DashletMetaDataParser
- \PopupMetaDataParser
Properties

$_fielddefs= ''
inheritedInherited from:
\AbstractMetaDataParser::$$_fielddefs
Details
- Type
- n/a
- Inherited_from
- \AbstractMetaDataParser::$$_fielddefs

$_moduleName= ''
inheritedInherited from:
\AbstractMetaDataParser::$$_moduleName
Details
- Type
- n/a
- Inherited_from
- \AbstractMetaDataParser::$$_moduleName

$_viewdefs= ''
inheritedInherited from:
\AbstractMetaDataParser::$$_viewdefs
Details
- Type
- n/a
- Inherited_from
- \AbstractMetaDataParser::$$_viewdefs

$columns= 'array ( 'LBL_DEFAULT' => 'getDefaultFields' , 'LBL_AVAILABLE' => 'getAdditionalFields' , 'LBL_HIDDEN' => 'getAvailableFields' )'
Default value
array ( 'LBL_DEFAULT' => 'getDefaultFields' , 'LBL_AVAILABLE' => 'getAdditionalFields' , 'LBL_HIDDEN' => 'getAvailableFields' )Details- Type
- n/a

$implementation= ''
inheritedInherited from:
\AbstractMetaDataParser::$$implementation
Details
- Type
- n/a
- Inherited_from
- \AbstractMetaDataParser::$$implementation
Methods

__construct(
$view, $moduleName, $packageName
=
''
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $view | ||
| $moduleName | ||
| $packageName |

_standardizeFieldLabels(
$fielddefs
)
:
void
inherited
Inherited from:
\AbstractMetaDataParser::_standardizeFieldLabels()
Parameters
| Name | Type | Description |
|---|---|---|
| $fielddefs |

getAdditionalFields(
)
:
arrayReturns additional fields available for users to create fields
Returns
| Type | Description |
|---|---|
| array | List of additional fields as an array, where key = value = <field name> |

getAvailableFields(
)
:
arrayReturns unused fields that are available for use in either default or additional list views
Returns
| Type | Description |
|---|---|
| array | List of available fields as an array, where key = value = <field name> |

getDefaultFields(
)
:
arrayReturn a list of the default fields for a listview
Returns
| Type | Description |
|---|---|
| array | List of default fields as an array, where key = value = <field name> |

isTrue(
$val
)
:
bool
staticinherited
Used to determine if a field property is true or false given that it could be the boolean value or a string value such use 'false' or '0'
Inherited from: \AbstractMetaDataParser::isTrue()
Parameters
Returns
Details
| Name | Type | Description |
|---|---|---|
| $val |
| Type | Description |
|---|---|
| bool |
- Static