modules/ModuleBuilder/parsers/parser.label.php

Show: inherited
Table of Contents

\ParserLabel

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
methodpublicParserLabel(  $moduleName,  $packageName = '' ) : void

Parameters
Name Type Description
$moduleName
$packageName
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
methodpublicaddLabels(  $language,  $labels,  $moduleName,  $basepath = null,  $forRelationshipLabel = false ) : void
static

Parameters
Name Type Description
$language
$labels
$moduleName
$basepath
$forRelationshipLabel
methodpublicaddLabelsToAllLanguages(  $labels ) : void

Parameters
Name Type Description
$labels
methodpublichandleSave( \REQUEST $params, string $language ) : void

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

Parameters
Name Type Description
$params \REQUEST

Labels as "label_".System label => Display label pairs

$language string

Language key, for example 'en_us'

methodpublichandleSaveRelationshipLabels(  $metadata, string $language ) : void

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

Parameters
Name Type Description
$metadata
$language string

Language key, for example 'en_us'

methodpublicinit( ) : void
inherited

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

Inherited from: \ModuleBuilderParser::populateFromPost()
methodpublicremoveLabel(  $language,  $label,  $labelvalue,  $moduleName,  $basepath = null,  $forRelationshipLabel = false ) : void
static

Parameters
Name Type Description
$language
$label
$labelvalue
$moduleName
$basepath
$forRelationshipLabel
Documentation was generated by DocBlox 0.18.1.