modules/ModuleBuilder/parsers/views/GridLayoutMetaDataParser.php
\GridLayoutMetaDataParser
Package:
- Parent(s)
- \AbstractMetaDataParser
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


$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 |


_convertFromCanonicalForm(
$panels, $fielddefs
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$panels | ||
$fielddefs |


_convertToCanonicalForm(
$panels, $fielddefs
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$panels | ||
$fielddefs |


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


convertFromCanonicalForm(
$panels, $fielddefs
)
:
array
Public access to _convertFromCanonicalForm
Parameters
Returns
Name | Type | Description |
---|---|---|
$panels | ||
$fielddefs |
Type | Description |
---|---|
array |


convertToCanonicalForm(
$panels, $fielddefs
)
:
array
Public access to _convertToCanonicalForm
Parameters
Returns
Name | Type | Description |
---|---|---|
$panels | ||
$fielddefs |
Type | Description |
---|---|
array |


getCalculatedFields(
)
:
Array
Returns
Type | Description |
---|---|
Array | list of fields in this module that have the calculated property |


getFieldsInPanel(
$targetPanel
)
:
Array
Parameters
Returns
Name | Type | Description |
---|---|---|
$targetPanel |
Type | Description |
---|---|
Array | fields in the given panel |


getImplementation(
)
:
\DeployedMetaDataImplementation
Getter function to get the implementation method which is a private variable
Returns
Type | Description |
---|---|
\DeployedMetaDataImplementation |


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


setPanelDependency(
$panelID, $dependency
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$panelID | ||
$dependency |


setSyncDetailEditViews(
$syncDetailEditViews
)
:
void
Sync DetailView & EditView. This should only be set on the EditView
Parameters
Name | Type | Description |
---|---|---|
$syncDetailEditViews |