[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/grade/export/xml/db/ -> access.php (source)

   1  <?php  // $Id: access.php,v 1.3 2007/10/10 06:34:23 nicolasconnault Exp $
   2  
   3  ///////////////////////////////////////////////////////////////////////////
   4  //                                                                       //
   5  // NOTICE OF COPYRIGHT                                                   //
   6  //                                                                       //
   7  // Moodle - Modular Object-Oriented Dynamic Learning Environment         //
   8  //          http://moodle.com                                            //
   9  //                                                                       //
  10  // Copyright (C) 1999 onwards  Martin Dougiamas  http://moodle.com       //
  11  //                                                                       //
  12  // This program is free software; you can redistribute it and/or modify  //
  13  // it under the terms of the GNU General Public License as published by  //
  14  // the Free Software Foundation; either version 2 of the License, or     //
  15  // (at your option) any later version.                                   //
  16  //                                                                       //
  17  // This program is distributed in the hope that it will be useful,       //
  18  // but WITHOUT ANY WARRANTY; without even the implied warranty of        //
  19  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         //
  20  // GNU General Public License for more details:                          //
  21  //                                                                       //
  22  //          http://www.gnu.org/copyleft/gpl.html                         //
  23  //                                                                       //
  24  ///////////////////////////////////////////////////////////////////////////
  25  
  26  $gradeexport_xml_capabilities = array(
  27  
  28      'gradeexport/xml:view' => array(
  29          'riskbitmask' => RISK_PERSONAL,
  30          'captype' => 'read',
  31          'contextlevel' => CONTEXT_COURSE,
  32          'legacy' => array(
  33              'teacher' => CAP_ALLOW,
  34              'editingteacher' => CAP_ALLOW,
  35              'admin' => CAP_ALLOW
  36          )
  37      ),
  38  
  39      'gradeexport/xml:publish' => array(
  40          'riskbitmask' => RISK_PERSONAL,
  41          'captype' => 'read',
  42          'contextlevel' => CONTEXT_COURSE,
  43          'legacy' => array(
  44              'admin' => CAP_ALLOW
  45          )
  46      )
  47  
  48  );
  49  
  50  ?>


Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7