ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilECSLearningModuleSettings Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilECSLearningModuleSettings:
+ Collaboration diagram for ilECSLearningModuleSettings:

Protected Member Functions

 getECSObjectType ()
 
 buildJson (ilECSSetting $a_server)
 
- Protected Member Functions inherited from ilECSObjectSettings
 getECSObjectType ()
 Get ECS resource identifier, e.g. More...
 
 isActive ()
 Is ECS (for current object) active? More...
 
 handleSettingsForServer (ilECSSetting $a_server, bool $a_export, array $a_mids)
 Save ECS settings (add- update- deleteResource) More...
 
 doAdd (ilECSSetting $a_server, ilECSExport $a_export_settings, array $a_mids)
 Add resource to ECS. More...
 
 doUpdate (ilECSSetting $a_server, ilECSExport $a_export_settings, array $a_mids=null)
 Update ECS resource. More...
 
 getParticipants (int $a_server_id, int $a_econtent_id)
 Get participants for server and ecs resource. More...
 
 sendNewContentNotification (ilECSSetting $a_server, $a_econtent_id)
 send notifications about new EContent More...
 
 handlePermissionUpdate (ilECSSetting $server)
 Handle permission update. More...
 
 getJsonCore (string $a_etype)
 Build core json structure. More...
 
 addMetadataToJson (object $a_json, ilECSSetting $a_server, array $a_definition)
 Add advanced metadata to json (export) More...
 
 buildJson (ilECSSetting $a_server)
 Build resource-specific json. More...
 

Additional Inherited Members

- Public Member Functions inherited from ilECSObjectSettings
 __construct (ilObject $a_content_object)
 Constructor. More...
 
 getContentObject ()
 Get content object. More...
 
 addSettingsToForm (ilPropertyFormGUI $a_form, $a_type)
 Fill ECS export settings "multiple servers". More...
 
 handleSettingsUpdate ()
 Update ECS Export Settings. More...
 
 handleContentUpdate ()
 Update ECS Content. More...
 
 doDelete (ilECSSetting $a_server, ilECSExport $a_export_settings)
 Delete ECS resource. More...
 
- Static Public Member Functions inherited from ilECSObjectSettings
static getInstanceByObject (ilObject $a_content_obj)
 Get settings handler for repository object. More...
 
static _handleDelete (array $a_subbtree_nodes)
 handle delete Objects that are moved to the trash call ECS-Remove More...
 
- Data Fields inherited from ilECSObjectSettings
const MAIL_SENDER = 6
 
- Protected Attributes inherited from ilECSObjectSettings
ilObject $content_obj
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilECSLearningModuleSettings

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e

Definition at line 24 of file class.ilECSLearningModuleSettings.php.

Member Function Documentation

◆ buildJson()

ilECSLearningModuleSettings::buildJson ( ilECSSetting  $a_server)
protected

Definition at line 31 of file class.ilECSLearningModuleSettings.php.

References ilECSObjectSettings\getJsonCore().

32  {
33  $json = $this->getJsonCore('application/ecs-learningmodule');
34 
35  $json->availability = $this->content_obj->getOfflineStatus() ? 'offline' : 'online';
36 
37  return $json;
38  }
getJsonCore(string $a_etype)
Build core json structure.
+ Here is the call graph for this function:

◆ getECSObjectType()

ilECSLearningModuleSettings::getECSObjectType ( )
protected

Definition at line 26 of file class.ilECSLearningModuleSettings.php.

26  : string
27  {
28  return '/campusconnect/learningmodules';
29  }

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