modules/Leads/ConvertLayoutMetadataParser.php

Show: inherited
Table of Contents

\ConvertLayoutImplementation

Package:

Properties

Propertyprotected  $fileName= '"modules/Leads/metadata/convertdefs.php"'
Default value"modules/Leads/metadata/convertdefs.php"Details
Type
n/a
Propertypublic  $viewdefs= ''
Details
Type
n/a

Methods

methodpublicgetViewDefs( ) : void

methodpublicloadViewdefForModule(  $module ) : void

Parameters
Name Type Description
$module

\ConvertLayoutMetadataParser

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  
Propertyprotected  $fileName= '"modules/Leads/metadata/convertdefs.php"'
Default value"modules/Leads/metadata/convertdefs.php"Details
Type
n/a
Propertyprotected  $pathMap= 'array ( MB_BASEMETADATALOCATION => '' , MB_CUSTOMMETADATALOCATION => 'custom/' , MB_WORKINGMETADATALOCATION => 'custom/working/' , MB_HISTORYMETADATALOCATION => 'custom/history/' )'
Default valuearray ( MB_BASEMETADATALOCATION => '' , MB_CUSTOMMETADATALOCATION => 'custom/' , MB_WORKINGMETADATALOCATION => 'custom/working/' , MB_HISTORYMETADATALOCATION => 'custom/history/' )Details
Type
n/a
Propertypublic  $variableMap= 'array ( MB_EDITVIEW => 'EditView' , MB_DETAILVIEW => 'DetailView' , MB_QUICKCREATE => 'QuickCreate', MB_WIRELESSEDITVIEW => 'EditView' , MB_WIRELESSDETAILVIEW => 'DetailView' , )'
staticinheritedInherited from: \GridLayoutMetaDataParser::$$variableMap
Default valuearray ( MB_EDITVIEW => 'EditView' , MB_DETAILVIEW => 'DetailView' , MB_QUICKCREATE => 'QuickCreate', MB_WIRELESSEDITVIEW => 'EditView' , MB_WIRELESSDETAILVIEW => 'DetailView' , )Details
Type
n/a
Inherited_from
\GridLayoutMetaDataParser::$$variableMap  

Methods

methodpublic__construct(  $module ) : void

Parameters
Name Type Description
$module
methodprotected_convertFromCanonicalForm(  $panels,  $fielddefs ) : void
Parameters
Name Type Description
$panels
$fielddefs
methodprotected_convertToCanonicalForm(  $panels,  $fielddefs ) : void
Parameters
Name Type Description
$panels
$fielddefs
methodpublic_populateFromRequest( ) : void

methodprotected_saveToFile(  $filename,  $defs,  $useVariables = true ) : void

Parameters
Name Type Description
$filename
$defs
$useVariables
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
methodpublicdeploy(  $defs ) : void

Parameters
Name Type Description
$defs
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
methodpublicgetDefForModule(  $mod ) : void

Parameters
Name Type Description
$mod
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
methodpublicgetHistory( ) : void

methodpublicgetImplementation( ) : \DeployedMetaDataImplementation
inherited

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

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

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
methodpublicgetOriginalViewDefs( ) : void

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

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
 
methodpublicloadViewDefs( ) : void

methodpublicremoveField(  $fieldName ) : void
inherited

Inherited from: \GridLayoutMetaDataParser::removeField()
Parameters
Name Type Description
$fieldName
methodpublicremoveLayout(  $module ) : void

Parameters
Name Type Description
$module
methodprotectedsaveNewLabel(  $key,  $label ) : void

Parameters
Name Type Description
$key
$label
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

Parameters
Name Type Description
$useTabs
methodpublicupdateOrder( array $data ) : void

Should take in an updated set of definitions and re-arrange and override the current panel set with the new one.

Parameters
Name Type Description
$data array
methodpublicvalidField(  $def,  $view = "" ) : void
Parameters
Name Type Description
$def
$view
methodpublicwriteWorkingFile(  $populate = true ) : void
Parameters
Name Type Description
$populate
Documentation was generated by DocBlox 0.18.1.