include/resource/ResourceManager.php
\ResourceManager
Package: SugarCRM
Parameters
Returns
ResourceManager.php This class is responsible for resource management of SQL queries, file usage, etc.
Properties
Methods

getInstance(
)
:
\The
static
getInstance Singleton method to return static instance of ResourceManager
Returns
| Type | Description |
|---|---|
| \The | static singleton ResourceManager instance |

notifyObservers(
\$msg $msg
)
:
voidnotifyObservers This method notifies the registered observers with the provided message.
Parameters
| Name | Type | Description |
|---|---|---|
| $msg | \$msg | Message from language file to notify observers with |

setup(
\$module $module
)
:
booleansetup Handles determining the appropriate setup based on client type.
It will create a SoapResourceObserver instance if the $module parameter is set to 'Soap'; otherwise, it will try to create a WebResourceObserver instance.
| Name | Type | Description |
|---|---|---|
| $module | \$module | The module value used to create the corresponding observer |
| Type | Description |
|---|---|
| boolean | value indicating whether or not an observer was successfully setup |