modules/ModuleBuilder/parsers/views/WirelessGridLayoutMetaDataParser.php

Show: inherited
Table of Contents

\WirelessGridLayoutMetaDataParser

Package:
Parent(s)
\GridLayoutMetaDataParser < \AbstractMetaDataParser

Properties

Propertyprotected  $FILLER= ''
inheritedInherited from: \GridLayoutMetaDataParser::$$FILLER
Details
Type
n/a
Inherited_from
\GridLayoutMetaDataParser::$$FILLER  
Propertypublic  $_viewdefs= ''
Details
Type
n/a
Inherited_from
\AbstractMetaDataParser::$$_viewdefs  
Inherited_from
\GridLayoutMetaDataParser::$$_viewdefs  
Propertypublic  $variableMap= 'array ( MB_WIRELESSEDITVIEW => 'EditView' , MB_WIRELESSDETAILVIEW => 'DetailView' , )'
static
Default valuearray ( MB_WIRELESSEDITVIEW => 'EditView' , MB_WIRELESSDETAILVIEW => 'DetailView' , )Details
Type
n/a

Methods

methodpublic__construct(  $view,  $moduleName,  $packageName = '' ) : void
inherited

Inherited from: \GridLayoutMetaDataParser::__construct()
Parameters
Name Type Description
$view
$moduleName
$packageName
methodprotected_convertFromCanonicalForm(  $panels,  $fielddefs ) : void
Parameters
Name Type Description
$panels
$fielddefs
methodprotected_convertToCanonicalForm(  $panels,  $fielddefs ) : void
Parameters
Name Type Description
$panels
$fielddefs
methodprotected_populateFromRequest(  $fielddefs ) : void
Parameters
Name Type Description
$fielddefs
methodprotected_standardizeFieldLabels(  $fielddefs ) : void
Parameters
Name Type Description
$fielddefs
methodpublic_trimFieldDefs(  $def ) : void
staticinherited

Inherited from: \GridLayoutMetaDataParser::_trimFieldDefs()
Parameters
Name Type Description
$def
methodpublicaddField(  $def,  $panelID = FALSE ) : void
inherited

Inherited from: \GridLayoutMetaDataParser::addField()
Parameters
Name Type Description
$def
$panelID
methodpublicconvertFromCanonicalForm(  $panels,  $fielddefs ) : array
inherited

Public access to _convertFromCanonicalForm

Inherited from: \GridLayoutMetaDataParser::convertFromCanonicalForm()
Parameters
Name Type Description
$panels
$fielddefs
Returns
Type Description
array
methodpublicconvertToCanonicalForm(  $panels,  $fielddefs ) : array
inherited

Public access to _convertToCanonicalForm

Inherited from: \GridLayoutMetaDataParser::convertToCanonicalForm()
Parameters
Name Type Description
$panels
$fielddefs
Returns
Type Description
array
methodprotectedfieldIsRequired(  $def ) : void
Parameters
Name Type Description
$def
methodpublicgetAvailableFields( ) : void
methodpublicgetCalculatedFields( ) : Array
Returns
Type Description
Array list of fields in this module that have the calculated property
methodprotectedgetFieldsFromLayout(  $viewdef ) : void
Parameters
Name Type Description
$viewdef
methodpublicgetFieldsInPanel(  $targetPanel ) : Array
Parameters
Name Type Description
$targetPanel
Returns
Type Description
Array fields in the given panel
methodpublicgetFirstNewPanelId( ) : void
methodpublicgetImplementation( ) : \DeployedMetaDataImplementation
inherited

Getter function to get the implementation method which is a private variable

Inherited from: \GridLayoutMetaDataParser::getImplementation()
Returns
Type Description
\DeployedMetaDataImplementation
methodpublicgetLayout( ) : void
inherited

Inherited from: \GridLayoutMetaDataParser::getLayout()
methodpublicgetMaxColumns( ) : void
inherited

Inherited from: \GridLayoutMetaDataParser::getMaxColumns()
methodpublicgetNewRowItem(  $source,  $fielddef ) : void
inherited

Inherited from: \GridLayoutMetaDataParser::getNewRowItem()
Parameters
Name Type Description
$source
$fielddef
methodpublicgetPanelDependency(  $panelID ) : void
Parameters
Name Type Description
$panelID
methodpublicgetSyncDetailEditViews( ) : void
inherited

Return whether the Detail & EditView should be in sync.

Inherited from: \GridLayoutMetaDataParser::getSyncDetailEditViews()
methodpublicgetTabDefs( ) : void
inherited

Inherited from: \GridLayoutMetaDataParser::getTabDefs()
methodpublicgetUseTabs( ) : void
inherited

Inherited from: \GridLayoutMetaDataParser::getUseTabs()
methodpublichandleSave(  $populate = true ) : void

Parameters
Name Type Description
$populate
methodprotectedisTrue(  $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()\GridLayoutMetaDataParser::isTrue()
Parameters
Name Type Description
$val
Returns
Type Description
bool
Details
Static
 
methodpublicremoveField(  $fieldName ) : void
inherited

Inherited from: \GridLayoutMetaDataParser::removeField()
Parameters
Name Type Description
$fieldName
methodpublicsetPanelDependency(  $panelID,  $dependency ) : void
Parameters
Name Type Description
$panelID
$dependency
methodpublicsetSyncDetailEditViews(  $syncDetailEditViews ) : void
inherited

Sync DetailView & EditView. This should only be set on the EditView

Inherited from: \GridLayoutMetaDataParser::setSyncDetailEditViews()
Parameters
Name Type Description
$syncDetailEditViews
methodpublicsetTabDefs(  $tabDefs ) : void
inherited

Inherited from: \GridLayoutMetaDataParser::setTabDefs()
Parameters
Name Type Description
$tabDefs
methodpublicsetUseTabs(  $useTabs ) : void
inherited

Inherited from: \GridLayoutMetaDataParser::setUseTabs()
Parameters
Name Type Description
$useTabs
methodpublicvalidField(  $def,  $view = "" ) : void
Parameters
Name Type Description
$def
$view
methodpublicwriteWorkingFile( ) : void

Documentation was generated by DocBlox 0.18.1.