modules/ModuleBuilder/parsers/views/ListLayoutMetaDataParser.php

Show: inherited
Table of Contents

\ListLayoutMetaDataParser

Package:
Parent(s)
\AbstractMetaDataParser
Children
\SubpanelMetaDataParser
\SearchViewMetaDataParser
\DashletMetaDataParser
\PopupMetaDataParser

Properties

Propertypublic  $_fielddefs= ''
inheritedInherited from: \AbstractMetaDataParser::$$_fielddefs
Details
Type
n/a
Inherited_from
\AbstractMetaDataParser::$$_fielddefs  
Propertyprotected  $_moduleName= ''
inheritedInherited from: \AbstractMetaDataParser::$$_moduleName
Details
Type
n/a
Inherited_from
\AbstractMetaDataParser::$$_moduleName  
Propertypublic  $_viewdefs= ''
inheritedInherited from: \AbstractMetaDataParser::$$_viewdefs
Details
Type
n/a
Inherited_from
\AbstractMetaDataParser::$$_viewdefs  
Propertyprotected  $allowParent= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $columns= 'array ( 'LBL_DEFAULT' => 'getDefaultFields' , 'LBL_AVAILABLE' => 'getAdditionalFields' , 'LBL_HIDDEN' => 'getAvailableFields' )'
Default valuearray ( 'LBL_DEFAULT' => 'getDefaultFields' , 'LBL_AVAILABLE' => 'getAdditionalFields' , 'LBL_HIDDEN' => 'getAvailableFields' )Details
Type
n/a
Propertyprotected  $implementation= ''
Details
Type
n/a
Inherited_from
\AbstractMetaDataParser::$$implementation  
Propertyprotected  $labelIdentifier= ''label''
Default value'label'Details
Type
n/a

Methods

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

Parameters
Name Type Description
$view
$moduleName
$packageName
methodprotected_populateFromRequest( ) : void

methodprotected_standardizeFieldLabels(  $fielddefs ) : void
Parameters
Name Type Description
$fielddefs
methodpublic_trimFieldDefs(  $def ) : void
static

Parameters
Name Type Description
$def
methodpublicgetAdditionalFields( ) : array

Returns additional fields available for users to create fields

Returns
Type Description
array List of additional fields as an array, where key = value = <field name>
methodpublicgetArrayDiff(  $one,  $two ) : void
static

Parameters
Name Type Description
$one
$two
methodpublicgetAvailableFields( ) : array

Returns 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>
methodpublicgetDefaultFields( ) : array

Return 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>
methodpublicgetFieldDefs( ) : void
inherited

Inherited from: \AbstractMetaDataParser::getFieldDefs()
methodpublicgetHistory( ) : void
inherited

Inherited from: \AbstractMetaDataParser::getHistory()
methodpublicgetLanguage( ) : void
inherited

Inherited from: \AbstractMetaDataParser::getLanguage()
methodpublicgetLayout( ) : void

methodpublicgetLayoutAsArray( ) : void
methodpublicgetOriginalViewDefs( ) : void

methodpublicgetRequiredFields( ) : 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()
Parameters
Name Type Description
$val
Returns
Type Description
bool
Details
Static
 
methodpublicisValidField(  $key,  $def ) : void

Parameters
Name Type Description
$key
$def
methodpublicremoveField(  $fieldName ) : void

Parameters
Name Type Description
$fieldName
methodpublicvalidField(  $def,  $view = "" ) : void
staticinherited

Inherited from: \AbstractMetaDataParser::validField()
Parameters
Name Type Description
$def
$view
Documentation was generated by DocBlox 0.18.1.