local:shop:structure:handlers:assignroleoncontext

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
local:shop:structure:handlers:assignroleoncontext [2016/07/19 13:50] – [Paramètres de post-paiement (exécution)] adminlocal:shop:structure:handlers:assignroleoncontext [2026/11/13 21:59] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
-===== Activation d'un rôle sur un contexte ===== +<html><!-- nomoodle --></html>{{ :blocks:logo-apl.png?nolink |}}<html><!-- /nomoodle --></html>===== Role Assignment on Context ===== 
-===== Boutique Moodle : Gestionnaires de production =====+===== Moodle Shop: Production Handlers =====
  
-Fonction : permet à l'acheteur de se voir attribuer (ou d'attribuer à un tiers) un rôle particulier sur un contexte prédéfini.+Function: allows the buyer to be assigned (or to assign to a third party) a particular role on a predefined context.
  
-==== Paramètres de pré-paiement ====+==== Pre-payment parameters ====
  
-   * **customersupport :** shortname du cours de support client +   * **customersupport:** shortname of the customer support course 
  
-==== Paramètres de post-paiement (exécution) ====+==== Post-payment parameters (execution) ====
  
-=== Paramètres back-office ===+=== Back-office parameters ===
  
-   * **contextlevel(*) :** Le niveau de contexte (10 => système, 30 => catégorie de cours, 50 => cours, etc...). +   * **contextlevel(*):** The context level (10 => system, 30 => course category, 50 => course, etc...). 
-   * **instance(*) :** L'id d'instance correspondant au contexte. (Une connaissance structurelle de Moodle minimale est requise). +   * **instance(*):** The instance id corresponding to the context. (A minimal structural knowledge of Moodle is required). 
-   * **role(*) :** Le nom court du rôle+   * **role(*):** The short name of the role 
 +   * **starttime:** Enrolment start date expressed in Unix seconds (by default, purchase date)  (1) 
 +   * **endtime:** Enrolment end date expressed in Unix seconds (by default, unlimited)  (1) 
 +   * **duration:** Enrolment duration (alternatively to the end date, the end date is the start date plus the duration) expressed in days.  (1)
  
-(*) paramètres obligatoires+For example, the product whose lifetime is set to 180 days for the customer: duration=180
  
-=== Paramètres front-office ===+(*) mandatory parameters
  
-   * **foruser :** : le numéro d'identification (IDNumber) du bénéficiaire.+=== Front-office parameters ===
  
-==== Notes ====+   * **foruser:** the identification number (IDNumber) of the beneficiary.
  
-Ce produit peut être renouvelé par l'usage d'un gestionnaire d'extension de la période d'inscription.+=== Notes ===
  
-[[:local:shop:structure|Retour au sommaire de structure]]+   - Although the notion of role assignment is not dated in Moodle, the intervention of dates in the handler carries the durations over into the product attributes. If an effective end date is mentioned, then the role assignment will end at the product expiry date. 
 +   - This product can be renewed through the use of an enrolment period extension handler. 
 + 
 +----------- 
 + 
 +<html><!-- nomoodle --></html> 
 +==== Credits ==== 
 + 
 +   * Valéry Frémaux (valery@activeprolearn.com) Design - Development 
 +   * Florence Labord (florence@activeprolearn.com) Functional review - Tests 
 + 
 +[[local:shop:setup:handlers:std_assignroleoncontext|See the implementation sheet]] - [[:local:shop:structure|Back to the structure summary]] - [[:local:shop|Back to the component summary Local Shop]] - [[:start|Back to the catalog]]  
 + 
 + 
 +<html><!-- /nomoodle --></html>
  
local/shop/structure/handlers/assignroleoncontext.1468929057.txt.gz · Dernière modification : (modification externe)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki