modules/ModuleBuilder/MB/MBPackage.php
\MBPackage
Package:
Parameters
Properties
Methods
copyCustomDropdownValuesForModules(
$modules, $path
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$modules | ||
$path |
customBuildInstall(
$modules, $path, $extensions
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$modules | ||
$path | ||
$extensions |
exportCustom(
$modules, $export
=
true, $clean
=
true
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$modules | ||
$export | ||
$clean |
exportProject(
$package, $export
=
true, $clean
=
true
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$package | ||
$export | ||
$clean |
exportProjectInstall(
$package, $for_export
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$package | ||
$for_export |
getCustomDropDownStringsForModules(
$modules, $list_strings
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$modules | ||
$list_strings |
getCustomFieldsManifestForModule(
$module, $installdefs
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$module | ||
$installdefs |
getCustomMetadataManifestForModule(
$module, $installdefs
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$module | ||
$installdefs |
getExtensionsList(
$module, $excludeRelationships
=
true
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$module | ||
$excludeRelationships |
getExtensionsManifestForPackage(
$path, $installdefs
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$path | ||
$installdefs |
getLanguageManifestForModule(
$module, $installdefs
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$module | ||
$installdefs |
getManifest(
$version_specific
=
false, $for_export
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$version_specific | ||
$for_export |
getModule(
$name, bool $force
=
true
)
:
\MBModule
Parameters
Returns
Name | Type | Description |
---|---|---|
$name | ||
$force | bool |
Type | Description |
---|---|
\MBModule |
getModuleByFullName(
string $name
)
:
\MBModule
Returns an MBModule by the given full name (package key + module name) if it exists in this package
Parameters
Returns
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
\MBModule |
getRelationshipsForModule(
\$moduleName $moduleName
)
:
array
Returns a set of field defs for fields that will exist when this package is deployed based on the relationships in all of its modules.
Parameters
Returns
Name | Type | Description |
---|---|---|
$moduleName | \$moduleName | (module must be from whithin this package) |
Type | Description |
---|---|
array | Field defs |
loadModuleTitles(
\$languge $languge
=
''
)
:
Loads the translated module titles from the selected language into.
Will override currently loaded string to reflect undeployed label changes. $app_list_strings
Name | Type | Description |
---|---|---|
$languge | \$languge | String language identifyer |