modules/ModuleBuilder/parsers/parser.dropdown.php

Show: inherited
Table of Contents

\ParserDropDown

Package:
Parent(s)
\ModuleBuilderParser

Properties

Propertypublic  $_defMap= ''
inheritedInherited from: \ModuleBuilderParser::$$_defMap
Details
Type
n/a
Inherited_from
\ModuleBuilderParser::$$_defMap  
Propertypublic  $_variables= 'array()'
inheritedInherited from: \ModuleBuilderParser::$$_variables
Default valuearray()Details
Type
n/a
Inherited_from
\ModuleBuilderParser::$$_variables  

Methods

methodpublicModuleBuilderParser( ) : void
methodpublic_fatalError(  $msg ) : void
inherited

Inherited from: \ModuleBuilderParser::_fatalError()
Parameters
Name Type Description
$msg
methodpublic_loadFromFile(  $view,  $file,  $moduleName ) : void
inherited

Inherited from: \ModuleBuilderParser::_loadFromFile()
Parameters
Name Type Description
$view
$file
$moduleName
methodpublic_writeToFile(  $file,  $view,  $moduleName,  $defs,  $variables ) : void
inherited

Inherited from: \ModuleBuilderParser::_writeToFile()
Parameters
Name Type Description
$file
$view
$moduleName
$defs
$variables
methodpublicgetNewCustomContents(  $dropdown_name,  $dropdown,  $lang ) : void

Parameters
Name Type Description
$dropdown_name
$dropdown
$lang
methodpublicgetPatternMatch(  $dropdown_name ) : void

Parameters
Name Type Description
$dropdown_name
methodpublichandleSave(  $file,  $view,  $moduleName,  $defs ) : void
inherited

Inherited from: \ModuleBuilderParser::handleSave()
Parameters
Name Type Description
$file
$view
$moduleName
$defs
methodpublicinit( ) : void
inherited

Inherited from: \ModuleBuilderParser::init()
methodpublicpopulateFromPost( ) : void
inherited

Inherited from: \ModuleBuilderParser::populateFromPost()
methodpublicsaveDropDown( \REQUEST $params ) : void

Takes in the request params from a save request and processes them for the save.

Parameters
Name Type Description
$params \REQUEST

params $params

methodprivatesynchDDKeys(  $dom,  $sub ) : void

Parameters
Name Type Description
$dom
$sub
methodpublicsynchDropDown( \$dropdown_name $dropdown_name, \$dropdown $dropdown, \$selected_lang $selected_lang, \$saveLov $saveLoc ) : void

function synchDropDown Ensures that the set of dropdown keys is consistant accross all languages.

Parameters
Name Type Description
$dropdown_name \$dropdown_name

The name of the dropdown to be synched

$dropdown \$dropdown

array The dropdown currently being saved

$selected_lang \$selected_lang

String the language currently selected in Studio/MB

$saveLoc \$saveLov

String the path to the directory to save the new lang file in.

methodpublicsynchMBDropDown( \$dropdown_name $dropdown_name, \$dropdown $dropdown, \$selected_lang $selected_lang, \$module $module ) : void

function synchMBDropDown Ensures that the set of dropdown keys is consistant accross all languages in a ModuleBuilder Module

Parameters
Name Type Description
$dropdown_name \$dropdown_name

The name of the dropdown to be synched

$dropdown \$dropdown

array The dropdown currently being saved

$selected_lang \$selected_lang

String the language currently selected in Studio/MB

$module \$module

MBModule the module to update the languages in

Documentation was generated by DocBlox 0.18.1.