Page manage, RFM pointe sur le dossier de l'espace
This commit is contained in:
parent
b6d3eb8ec2
commit
5c0efda0ca
@ -174,6 +174,9 @@ class course extends common
|
|||||||
$this->initData('module', $courseId);
|
$this->initData('module', $courseId);
|
||||||
$this->initData('theme', $courseId);
|
$this->initData('theme', $courseId);
|
||||||
|
|
||||||
|
// Pointer RFM sur le dossier
|
||||||
|
self::$siteContent = $courseId;
|
||||||
|
|
||||||
// BDD des inscrits
|
// BDD des inscrits
|
||||||
$this->setData([
|
$this->setData([
|
||||||
'enrolment',
|
'enrolment',
|
||||||
@ -305,6 +308,8 @@ class course extends common
|
|||||||
|
|
||||||
// Liste des pages disponibles
|
// Liste des pages disponibles
|
||||||
$this->initDB('page', $courseId);
|
$this->initDB('page', $courseId);
|
||||||
|
// Pointer RFM sur le dossier
|
||||||
|
self::$siteContent = $courseId;
|
||||||
self::$pagesList = $this->getData(['page']);
|
self::$pagesList = $this->getData(['page']);
|
||||||
foreach (self::$pagesList as $pageId => $page) {
|
foreach (self::$pagesList as $pageId => $page) {
|
||||||
if (
|
if (
|
||||||
@ -354,6 +359,8 @@ class course extends common
|
|||||||
|
|
||||||
// Liste des pages disponibles
|
// Liste des pages disponibles
|
||||||
$this->initDB('page', $courseId);
|
$this->initDB('page', $courseId);
|
||||||
|
// Pointer RFM sur le dossier
|
||||||
|
self::$siteContent = $courseId;
|
||||||
self::$pagesList = $this->getData(['page']);
|
self::$pagesList = $this->getData(['page']);
|
||||||
foreach (self::$pagesList as $pageId => $page) {
|
foreach (self::$pagesList as $pageId => $page) {
|
||||||
if (
|
if (
|
||||||
@ -1700,6 +1707,7 @@ class course extends common
|
|||||||
|
|
||||||
// Liste des pages disponibles
|
// Liste des pages disponibles
|
||||||
$this->initDB('page', $courseId);
|
$this->initDB('page', $courseId);
|
||||||
|
self::$siteContent = $courseId;
|
||||||
self::$pagesList = [];
|
self::$pagesList = [];
|
||||||
foreach ($this->getData(['page']) as $pageId => $page) {
|
foreach ($this->getData(['page']) as $pageId => $page) {
|
||||||
if (
|
if (
|
||||||
|
Loading…
Reference in New Issue
Block a user