Modules/Groupware/Files/Folder/Facade.php
\Conjoon_Modules_Groupware_Files_Folder_Facade
Package: Default
Parameters
Returns
Throws
- Author
- Thorsten Suckow-Homberg
Properties
Methods

_getFolderModel(
)
:
\Conjoon_Modules_Groupware_Files_Folder_Model_Folder
Returns
| Type | Description |
|---|---|
| \Conjoon_Modules_Groupware_Files_Folder_Model_Folder |

createTempFolderForUser(
int $userId
)
:
intCreates the temp folder if it does not already exists and returns the id of the temp folder.
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $userId | int |
| Type | Description |
|---|---|
| int |
| Exception | Description |
|---|---|
| \InvalidArgumentException |

getTempFolderIdForUser(
int $userId
)
:
intReturns the id for the temp folder for the specified user.
If the temp folder for this user does not exist, it will be created.
| Name | Type | Description |
|---|---|---|
| $userId | int |
| Type | Description |
|---|---|
| int |
| Exception | Description |
|---|---|
| \InvalidArgumentException |