ILIAS
release_4-3 Revision
|
Class ilChatroomViewTask. More...
Public Member Functions | |
__construct (ilDBayObjectGUI $gui) | |
Constructor Sets $this->gui using given $gui. | |
forcePublicRoom () | |
__construct (ilDBayObjectGUI $gui) | |
renderFileUploadForm (ilTemplate $roomTpl) | |
Prepares Fileupload form and displays it. | |
Public Member Functions inherited from ilDBayTaskHandler | |
executeDefault ($requestedMethod) | |
execute ($method) | |
Executes given $method if existing, otherwise executes executeDefault() method. |
Protected Member Functions | |
writeClientSettingsToFile (array $settings) | |
Writes client settings to client.properties file. | |
getClientFileContent (array $settings) | |
Formats content for client settings file. | |
writeDataToFile (array $settings) | |
Writes server settings to server.properties file. | |
getFileContent (array $settings) | |
Builds and formats content tot write in server.properties file. | |
checkDirectory () | |
Checks if external chatroom directory exists or can be created. | |
checkPrivHosts ($ipnumbers) | |
Checks if a valid IP number or a comma-separated string of valid IP numbers is given. |
Private Member Functions | |
defaultActions () | |
cancelJoin ($message) | |
Calls ilUtil::sendFailure method using given $message as parameter. |
Private Attributes | |
$gui | |
$commonSettings |
ilChatroomViewTask::__construct | ( | ilDBayObjectGUI | $gui | ) |
Constructor Sets $this->gui using given $gui.
ilDBayObjectGUI | $gui |
Reimplemented from ilDBayTaskHandler.
Definition at line 29 of file class.ilChatroomViewTask.php.
References $gui.
ilChatroomViewTask::__construct | ( | ilDBayObjectGUI | $gui | ) |
ilDBayObjectGUI | $gui |
Reimplemented from ilDBayTaskHandler.
Definition at line 23 of file class.ilChatroomViewTask.php.
References $gui.
|
private |
Calls ilUtil::sendFailure method using given $message as parameter.
string | $message |
Definition at line 32 of file class.ilChatroomViewTask.php.
References ilUtil\sendFailure().
|
protected |
Checks if external chatroom directory exists or can be created.
Exception |
Definition at line 244 of file class.ilChatroomViewTask.php.
References ilUtil\getDataDir(), and ilUtil\makeDir().
Referenced by writeClientSettingsToFile(), and writeDataToFile().
|
protected |
Checks if a valid IP number or a comma-separated string of valid IP numbers is given.
string | $ipnumbers |
Definition at line 266 of file class.ilChatroomViewTask.php.
|
private |
Definition at line 441 of file class.ilChatroomViewTask.php.
References forcePublicRoom().
ilChatroomViewTask::forcePublicRoom | ( | ) |
Definition at line 453 of file class.ilChatroomViewTask.php.
References $ref_id, ilObjChatroom\_getPublicRefId(), ilObject\_hasUntrashedReference(), ilObject\_lookupObjId(), and ilObjectFactory\getInstanceByRefId().
Referenced by defaultActions().
|
protected |
Formats content for client settings file.
array | $settings |
Definition at line 182 of file class.ilChatroomViewTask.php.
Referenced by writeClientSettingsToFile().
|
protected |
Builds and formats content tot write in server.properties file.
array | $settings |
Definition at line 221 of file class.ilChatroomViewTask.php.
References $https.
Referenced by writeDataToFile().
ilChatroomViewTask::renderFileUploadForm | ( | ilTemplate | $roomTpl | ) |
Prepares Fileupload form and displays it.
ilTemplate | $roomTpl |
Definition at line 637 of file class.ilChatroomViewTask.php.
References HTML_Template_IT\setVariable().
|
protected |
Writes client settings to client.properties file.
array | $settings |
Exception |
Definition at line 162 of file class.ilChatroomViewTask.php.
References checkDirectory(), and getClientFileContent().
|
protected |
Writes server settings to server.properties file.
array | $settings |
Definition at line 201 of file class.ilChatroomViewTask.php.
References checkDirectory(), and getFileContent().
|
private |
Definition at line 22 of file class.ilChatroomViewTask.php.
|
private |
Definition at line 17 of file class.ilChatroomViewTask.php.
Referenced by __construct().