getUrl(2), [
'href' => helper::baseUrl() . 'course/users/' . $this->getUrl(2),
'value' => 'Participants',
'ico' => 'users'
]); ?>
getUrl(2), [
'href' => helper::baseUrl() . 'course/edit/' . $this->getUrl(2),
'value' => 'Éditer',
'ico' => 'pencil'
]); ?>
getUrl(2), [
'href' => helper::baseUrl() . 'course/clone/' . $this->getUrl(2),
'value' => 'Cloner',
'ico' => 'clone'
]); ?>
getUrl(2), [
'href' => helper::baseUrl() . 'course/backup/' . $this->getUrl(2),
'value' => 'Sauvegarder',
'ico' => 'download-cloud'
]); ?>
getUrl(2), [
'class' => 'courseDelete buttonRed',
'href' => helper::baseUrl() . 'course/delete/' . $this->getUrl(2),
'value' => 'Supprimer',
'ico' => 'trash'
]); ?>
'Titre',
'value' => $this->getdata(['course', $this->getUrl(2), 'title']),
'readonly' => true,
]); ?>
'Auteur',
'value' => $this->getdata(['course', $this->getUrl(2), 'author']),
'disabled' => true,
]); ?>
'Page d\'accueil',
'selected' => $this->getdata(['course', $this->getUrl(2), 'homePageId']),
'disabled' => true,
]); ?>
'Catégorie',
'selected' => $this->getdata(['course', $this->getUrl(2), 'category']),
'disabled' => true,
]); ?>
'Description',
'value' => $this->getdata(['course', $this->getUrl(2), 'description']),
'readonly' => true,
]); ?>
'Disponibilité',
'selected' => $this->getdata(['course', $this->getUrl(2), 'access']),
'disabled' => true,
]); ?>
'datetime-local',
'label' => 'Ouverture',
'value' => is_null($this->getdata(['course', $this->getUrl(2), 'openingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'openingDate']) / 60) * 60,
'readonly' => true,
]); ?>
'datetime-local',
'label' => 'Fermeture',
'value' => is_null($this->getdata(['course', $this->getUrl(2), 'closingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'closingDate']) / 60) * 60,
]); ?>
'Participation',
'selected' => $this->getdata(['course', $this->getUrl(2), 'enrolment']),
'disabled' => true,
]); ?>
'Clé',
'value' => $this->getdata(['course', $this->getUrl(2), 'enrolmentKey']),
'readonly' => true,
]); ?>
$this->getdata(['course', $this->getUrl(2), 'limitEnrolment']),
'help' => 'Ne s\'applique pas à l\'inscription anonyme',
'disabled' => true,
]); ?>
'datetime-local',
'label' => 'Fermeture',
'value' => is_null($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate']) / 60) * 60,
'readonly' => true,
]); ?>