ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilObjChatroomAdminGUI Class Reference

Class ilObjChatroomAdminGUI GUI class for chatroom objects. More...

+ Inheritance diagram for ilObjChatroomAdminGUI:
+ Collaboration diagram for ilObjChatroomAdminGUI:

Public Member Functions

 _forwards ()
 Returns empty array.
 getConnector ()
 getRefId ()
 Returns RefId.
- Public Member Functions inherited from ilChatroomObjectGUI
 switchToVisibleMode ()
 Calls $this->prepareOutput() method.
- Public Member Functions inherited from ilObjectGUI
 ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true)
 Constructor public.
executeCommand ()
 execute command
 withReferences ()
 determines wether objects are referenced or not (got ref ids or not)
 setCreationMode ($a_mode=true)
 if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui
 getCreationMode ()
 get creation mode
 getAdminTabs (&$tabs_gui)
 administration tabs show only permissions and trash folder
 getHTML ()
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled
 cancelDeleteObject ()
 cancel deletion of object
 cancelObject ($in_rep=false)
 cancel action and go back to previous page public
 createObject ()
 create new object form
 cancelCreation ()
 cancel create action and go back to repository parent
 saveObject ()
 save object
 editObject ()
 edit object
 updateObject ()
 updates object entry in object_data
 getFormAction ($a_cmd, $a_formaction="")
 get form action for command (command is method name without "Object", e.g.
 isVisible ($a_ref_id, $a_type)
 viewObject ()
 list childs of current object
 deleteObject ($a_error=false)
 Display deletion confirmation screen.
 cloneAllObject ()
 Clone single (not container object) Method is overwritten in ilContainerGUI.

Static Public Member Functions

static _goto ($ref_id)
 Overwrites $_GET['ref_id'] with given $ref_id.

Protected Member Functions

 getObjectDefinition ()
 Returns object definition by calling getDefaultDefinitionWithCustomTaskPath method in ilChatroomObjectDefinition.

Additional Inherited Members

- Data Fields inherited from ilObjectGUI
const COPY_WIZARD_NEEDS_PAGE = 1
 $ilias
 $objDefinition
 $tpl
 $tree
 $lng
 $data
 $object
 $ref_id
 $obj_id
 $maxcount
 $formaction
 $return_location
 $target_frame
 $tab_target_script
 $actions
 $sub_objects
 $omit_locator = false
const CFORM_NEW = 1
const CFORM_IMPORT = 2
const CFORM_CLONE = 3

Detailed Description

Member Function Documentation

ilObjChatroomAdminGUI::_forwards ( )

Returns empty array.

Returns
array

Definition at line 65 of file class.ilObjChatroomAdminGUI.php.

{
return array();
}
static ilObjChatroomAdminGUI::_goto (   $ref_id)
static

Overwrites $_GET['ref_id'] with given $ref_id.

Parameters
int$ref_id

Definition at line 120 of file class.ilObjChatroomAdminGUI.php.

References ilObjectGUI\$ref_id, and ilObjectGUI\_gotoRepositoryNode().

{
include_once 'Services/Object/classes/class.ilObjectGUI.php';
}

+ Here is the call graph for this function:

ilObjChatroomAdminGUI::getConnector ( )
Returns
ilChatroomServerConnector

Reimplemented from ilChatroomObjectGUI.

Definition at line 105 of file class.ilObjChatroomAdminGUI.php.

References ilChatroomServerSettings\loadDefault().

{
require_once 'Modules/Chatroom/classes/class.ilChatroomServerConnector.php';
require_once 'Modules/Chatroom/classes/class.ilChatroomServerSettings.php';
$connector = new ilChatroomServerConnector($settings);
return $connector;
}

+ Here is the call graph for this function:

ilObjChatroomAdminGUI::getObjectDefinition ( )
protected

Returns object definition by calling getDefaultDefinitionWithCustomTaskPath method in ilChatroomObjectDefinition.

Returns
ilChatroomObjectDefinition

Reimplemented from ilChatroomObjectGUI.

Definition at line 54 of file class.ilObjChatroomAdminGUI.php.

References ilChatroomObjectDefinition\getDefaultDefinitionWithCustomTaskPath().

+ Here is the call graph for this function:

ilObjChatroomAdminGUI::getRefId ( )

Returns RefId.

Returns
int

Definition at line 130 of file class.ilObjChatroomAdminGUI.php.

{
return $this->object->getRefId();
}

The documentation for this class was generated from the following file: