Core plugin
The ClarolineCoreBundle is a single bundle that provides:
- Platform organization (main sections, navigation, authentication, logs).
- Base model (Workspace, Users, Resources).
- Plugin system.
Directory structure
The directory structure have some differences of a classic bundle, there is some special directories as follows:
1
2
3
4
5
6
7
8
bundle
|-- Command (Dev commands)
|-- Library (Services)
|-- Migrations (Data Base description)
|-- Resources
|-- +-- themes (Default claroline themes)
| +-- views
+-- Templating (Overwriting of a Symfony Class)
Platform organization
Sections (controller + layout):
1
base -> core::layout -> admin/desktop/workspace::layout -> ...
Model
- Workspace
- User/Group
- Resource
- Roles/Permissions
- Badge/Group
Plugin system
The Claroline plugins was designed as a modular system and they must be in heir own repositories.