modules/ModuleBuilder/MB/MBPackage.php

Show: inherited
Table of Contents

\MBPackage

Package:

Properties

Propertypublic  $author= ''''
Default value''Details
Type
n/a
Propertypublic  $date_modified= ''''
Default value''Details
Type
n/a
Propertypublic  $description= ''''
Default value''Details
Type
n/a
Propertypublic  $has_images= 'true'
Default valuetrueDetails
Type
n/a
Propertypublic  $is_uninstallable= 'true'
Default valuetrueDetails
Type
n/a
Propertypublic  $key= ''''
Default value''Details
Type
n/a
Propertypublic  $modules= 'array()'
Default valuearray()Details
Type
n/a
Propertypublic  $name= ''
Details
Type
n/a
Propertypublic  $readme= ''''
Default value''Details
Type
n/a

Methods

methodpublicMBPackage(  $name ) : void

Parameters
Name Type Description
$name
methodpublicbuild(  $export = true,  $clean = false ) : void

Parameters
Name Type Description
$export
$clean
methodpublicbuildInstall(  $path ) : void

Parameters
Name Type Description
$path
methodprivateconvertLangFilesToExtensions(  $langDir ) : void

Parameters
Name Type Description
$langDir
methodpubliccopy(  $new_name ) : void

Parameters
Name Type Description
$new_name
methodprivatecopyCustomDropdownValuesForModules(  $modules,  $path ) : void

Parameters
Name Type Description
$modules
$path
methodpubliccustomBuildInstall(  $modules,  $path,  $extensions = array() ) : void

Parameters
Name Type Description
$modules
$path
$extensions
methodpublicdelete( ) : void

methodpublicdeleteModule(  $name ) : void

Parameters
Name Type Description
$name
methodpublicexportCustom(  $modules,  $export = true,  $clean = true ) : void

Parameters
Name Type Description
$modules
$export
$clean
methodpublicexportProject(  $package,  $export = true,  $clean = true ) : void

Parameters
Name Type Description
$package
$export
$clean
methodpublicexportProjectInstall(  $package,  $for_export ) : void

Parameters
Name Type Description
$package
$for_export
methodpublicgetBuildDir( ) : void

methodpublicgetColumnsName( ) : void

methodpublicgetCustomDropDownStringsForModules(  $modules,  $list_strings ) : void

Parameters
Name Type Description
$modules
$list_strings
methodprivategetCustomFieldsManifestForModule(  $module,  $installdefs ) : void

Parameters
Name Type Description
$module
$installdefs
methodprivategetCustomMetadataManifestForModule(  $module,  $installdefs ) : void

Parameters
Name Type Description
$module
$installdefs
methodpublicgetCustomModules(  $module = false ) : void

Parameters
Name Type Description
$module
methodprivategetExtensionsList(  $module,  $excludeRelationships = true ) : void

Parameters
Name Type Description
$module
$excludeRelationships
methodprivategetExtensionsManifestForPackage(  $path,  $installdefs ) : void

Parameters
Name Type Description
$path
$installdefs
methodprivategetLanguageManifestForModule(  $module,  $installdefs ) : void

Parameters
Name Type Description
$module
$installdefs
methodpublicgetManifest(  $version_specific = false,  $for_export = false ) : void

Parameters
Name Type Description
$version_specific
$for_export
methodpublicgetModule(  $name, bool $force = true ) : \MBModule

Parameters
Name Type Description
$name
$force bool
Returns
Type Description
\MBModule
methodpublicgetModuleByFullName( string $name ) : \MBModule

Returns an MBModule by the given full name (package key + module name) if it exists in this package

Parameters
Name Type Description
$name string
Returns
Type Description
\MBModule
methodpublicgetNodes( ) : void

methodpublicgetPackageDir( ) : void

methodpublicgetRelationshipsForModule( \$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
Name Type Description
$moduleName \$moduleName

(module must be from whithin this package)

Returns
Type Description
array Field defs
methodpublicgetZipDir( ) : void

methodpublicload( ) : void

methodpublicloadModuleTitles( \$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

Parameters
Name Type Description
$languge \$languge

String language identifyer

methodpublicloadModules(  $force = false ) : void

Parameters
Name Type Description
$force
methodpublicpopulateFromPost( ) : void

methodpublicrename(  $new_name ) : void

Parameters
Name Type Description
$new_name
methodpublicsave( ) : void

methodpublicupdateModulesMetaData(  $save = false ) : void

Parameters
Name Type Description
$save
Documentation was generated by DocBlox 0.18.1.