include/DashletContainer/DCFactory.php
\DCFactory
Package: SugarCRM
Parameters
Returns
Details
The Dashlet Container Factory (DCF) provides a facility for loading the appropriate Dashlet Container.
It will make the decision based on what container is requested as well as system and user settings.
- Api
- Author
- mitani
Properties
Methods
getContainer(
string $dashletMetaDataFile, string $container
=
null
)
:
\DashletContainer
static
This function will make the decision for which container to load.
If container is not specified 1. check if user has a default container they prefer load
Name | Type | Description |
---|---|---|
$dashletMetaDataFile | string |
|
$container | string |
|
Type | Description |
---|---|
\DashletContainer |
- Static