/**
  * 
  * Constructor for the class
  * @param array $params should hold any vars that are needed by plugin. can also hold the 
  * 						the connection string vars if they are different from those specified 
  * 						in the mis connection
  */
 function __construct($params = array())
 {
     parent::__construct($params);
     $this->tabletype = get_config('block_ilp', 'mis_misc_fees_tabletype');
     $this->fields = array();
     $this->userfullname = false;
 }
 /**
  * 
  * Constructor for the class
  * @param array $params should hold any vars that are needed by plugin. can also hold the 
  * 						the connection string vars if they are different from those specified 
  * 						in the mis connection
  */
 function __construct($params = array())
 {
     parent::__construct($params);
     $this->tabletype = get_config('block_ilp', 'mis_learner_contact_tabletype');
     $this->fields = array();
 }
 public function __construct($params = array())
 {
     parent::__construct($params);
 }
Пример #4
0
$dbc = new ilp_db();
require_once $CFG->dirroot . '/blocks/ilp/classes/form_elements/ilp_element_plugin.php';
//install new plugins
ilp_element_plugin::install_new_plugins();
require_once $CFG->dirroot . '/blocks/ilp/classes/dashboard/ilp_dashboard_template.php';
//install new templates
ilp_dashboard_template::install_new_plugins();
require_once $CFG->dirroot . '/blocks/ilp/classes/dashboard/ilp_dashboard_plugin.php';
//install new dashboard plugins
ilp_dashboard_plugin::install_new_plugins();
require_once $CFG->dirroot . '/blocks/ilp/classes/dashboard/ilp_dashboard_tab.php';
//install new tabs
ilp_dashboard_tab::install_new_plugins();
require_once $CFG->dirroot . '/blocks/ilp/classes/dashboard/ilp_mis_plugin.php';
//install new tabs
ilp_mis_plugin::install_new_plugins();
$globalsettings = new admin_setting_heading('block_ilp/reportconfig', get_string('reports', 'block_ilp'), '');
$settings->add($globalsettings);
$link = '<a href="' . $CFG->wwwroot . '/blocks/ilp/actions/edit_report_configuration.php">' . get_string('reportconfigurationsection', 'block_ilp') . '</a>';
$settings->add(new admin_setting_heading('block_ilp_report_configuration', '', $link));
$link = '<a href="' . $CFG->wwwroot . '/blocks/ilp/actions/edit_status_items.php">' . get_string('editstatusitems', 'block_ilp') . '</a>';
$settings->add(new admin_setting_heading('block_ilp_statusitems', '', $link));
$globalsettings = new admin_setting_heading('block_ilp/userstatus', get_string('userstatus', 'block_ilp'), '');
$settings->add($globalsettings);
$items = $dbc->get_status_items(ILP_DEFAULT_USERSTATUS_RECORD);
$options = array();
if (!empty($items)) {
    foreach ($items as $i) {
        $options[$i->id] = $i->name;
    }
}
 /**
  * 
  * Constructor for the class
  * @param array $params should hold any vars that are needed by plugin. can also hold the 
  * 						the connection string vars if they are different from those specified 
  * 						in the mis connection
  */
 function __construct($params = array())
 {
     parent::__construct($params);
     $this->tabletype = get_config('block_ilp', 'mis_misc_exam_timetable_tabletype');
     $this->fields = array();
 }
 /**
  * 
  * Constructor for the class
  * @param array $params should hold any vars that are needed by plugin. can also hold the 
  * 						the connection string vars if they are different from those specified 
  * 						in the mis connection
  */
 function __construct($params = array())
 {
     parent::__construct($params);
     $this->tabletype = get_config('block_ilp', 'mis_misc_performance_ind_tabletype');
     $this->fields = array();
 }