modules/ModuleBuilder/parsers/views/SearchViewMetaDataParser.php
\SearchViewMetaDataParser
Package:
- Parent(s)
- \ListLayoutMetaDataParser < \AbstractMetaDataParser
Properties
$_fielddefs= ''
inheritedInherited from:
\AbstractMetaDataParser::$$_fielddefs\ListLayoutMetaDataParser::$$_fielddefs
Details
- Type
- n/a
- Inherited_from
- \AbstractMetaDataParser::$$_fielddefs
- Inherited_from
- \ListLayoutMetaDataParser::$$_fielddefs
$_moduleName= ''
inheritedInherited from:
\AbstractMetaDataParser::$$_moduleName\ListLayoutMetaDataParser::$$_moduleName
Details
- Type
- n/a
- Inherited_from
- \AbstractMetaDataParser::$$_moduleName
- Inherited_from
- \ListLayoutMetaDataParser::$$_moduleName
$_viewdefs= ''
Details
- Type
- n/a
- Inherited_from
- \AbstractMetaDataParser::$$_viewdefs
- Inherited_from
- \ListLayoutMetaDataParser::$$_viewdefs
$columns= 'array ( 'LBL_DEFAULT' => 'getDefaultFields' , 'LBL_HIDDEN' => 'getAvailableFields' )'
Default value
array ( 'LBL_DEFAULT' => 'getDefaultFields' , 'LBL_HIDDEN' => 'getAvailableFields' )
Details- Type
- n/a
$implementation= ''
inheritedInherited from:
\AbstractMetaDataParser::$$implementation\ListLayoutMetaDataParser::$$implementation
Details
- Type
- n/a
- Inherited_from
- \AbstractMetaDataParser::$$implementation
- Inherited_from
- \ListLayoutMetaDataParser::$$implementation
$labelIdentifier= ''label''
inheritedInherited from:
\ListLayoutMetaDataParser::$$labelIdentifier
Default value
'label'
Details- Type
- n/a
- Inherited_from
- \ListLayoutMetaDataParser::$$labelIdentifier
$variableMap= 'array (
MB_BASICSEARCH => 'basic_search' ,
MB_ADVANCEDSEARCH => 'advanced_search' ,
MB_WIRELESSBASICSEARCH => 'basic_search' ,
MB_WIRELESSADVANCEDSEARCH => 'advanced_search'
)'
static
Default value
array (
MB_BASICSEARCH => 'basic_search' ,
MB_ADVANCEDSEARCH => 'advanced_search' ,
MB_WIRELESSBASICSEARCH => 'basic_search' ,
MB_WIRELESSADVANCEDSEARCH => 'advanced_search'
)
Details- Type
- n/a
Methods
__construct(
$searchLayout, $moduleName, $packageName
=
''
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$searchLayout | ||
$moduleName | ||
$packageName |
_populateFromRequest(
)
:
void
inherited
Inherited from:
\ListLayoutMetaDataParser::_populateFromRequest()
_standardizeFieldLabels(
$fielddefs
)
:
void
inherited
Inherited from:
\AbstractMetaDataParser::_standardizeFieldLabels()\ListLayoutMetaDataParser::_standardizeFieldLabels()
Parameters
Name | Type | Description |
---|---|---|
$fielddefs |
getAdditionalFields(
)
:
array
inherited
Returns additional fields available for users to create fields
Inherited from: \ListLayoutMetaDataParser::getAdditionalFields()
Returns
Type | Description |
---|---|
array | List of additional fields as an array, where key = value = <field name> |
getAvailableFields(
)
:
array
inherited
Returns unused fields that are available for use in either default or additional list views
Inherited from: \ListLayoutMetaDataParser::getAvailableFields()
Returns
Type | Description |
---|---|
array | List of available fields as an array, where key = value = <field name> |
getDefaultFields(
)
:
array
inherited
Return a list of the default fields for a listview
Inherited from: \ListLayoutMetaDataParser::getDefaultFields()
Returns
Type | Description |
---|---|
array | List of default fields as an array, where key = value = <field name> |
getFieldDefs(
)
:
void
inherited
Inherited from:
\AbstractMetaDataParser::getFieldDefs()\ListLayoutMetaDataParser::getFieldDefs()
getHistory(
)
:
void
inherited
Inherited from:
\AbstractMetaDataParser::getHistory()\ListLayoutMetaDataParser::getHistory()
getLanguage(
)
:
void
inherited
Inherited from:
\AbstractMetaDataParser::getLanguage()\ListLayoutMetaDataParser::getLanguage()
getLayoutAsArray(
)
:
void
inherited
Inherited from:
\AbstractMetaDataParser::getLayoutAsArray()\ListLayoutMetaDataParser::getLayoutAsArray()
getRequiredFields(
)
:
void
inherited
Inherited from:
\AbstractMetaDataParser::getRequiredFields()\ListLayoutMetaDataParser::getRequiredFields()
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()\ListLayoutMetaDataParser::isTrue()
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$val |
Type | Description |
---|---|
bool |
- Static
removeField(
$fieldName
)
:
void
inherited
Inherited from:
\ListLayoutMetaDataParser::removeField()
Parameters
Name | Type | Description |
---|---|---|
$fieldName |
validField(
$def, $view
=
""
)
:
void
staticinherited
Inherited from:
\AbstractMetaDataParser::validField()\ListLayoutMetaDataParser::validField()
Parameters
Name | Type | Description |
---|---|---|
$def | ||
$view |