Minor - code styling for tickets management plugin - refs #6715

1.9.x
Yannick Warnier 12 years ago
parent 1352442dd6
commit 17681a74b5
  1. 2
      plugin/ticket/index.php
  2. 1
      plugin/ticket/install.php
  3. 8
      plugin/ticket/lib/tck.lib.php
  4. 25
      plugin/ticket/lib/tck_api.php
  5. 9
      plugin/ticket/lib/tck_plugin.class.php
  6. 2
      plugin/ticket/plugin.php
  7. 2
      plugin/ticket/readme.txt
  8. 6
      plugin/ticket/start.php
  9. 2
      plugin/ticket/uninstall.php

@ -1,4 +1,5 @@
<?php
/* For licensing terms, see /license.txt */
/**
* This script is included by main/admin/settings.lib.php and generally
* includes things to execute in the main database (settings_current table)

@ -1,11 +1,11 @@
<?php
/* For licensing terms, see /license.txt */
/**
* This script initiates a videoconference session, calling the BigBlueButton
* API
* @package chamilo.plugin.bigbluebutton
* This class defines the basis of the ticket management system plugin
* @package chamilo.plugin.ticket
*/
/**
* BigBlueButton-Chamilo connector class
* Ticket class
*/
class Ticket {

@ -1,25 +0,0 @@
<?php
/*
* Ticket Support
*/
class TckBlueButtonBN {
private $_securitySalt;
private $_bbbServerBaseUrl;
/* ___________ General Methods for the BigBlueButton Class __________ */
function __construct() {
/*
Establish just our basic elements in the constructor:
*/
// BASE CONFIGS - set these for your BBB server in config.php and they will
// simply flow in here via the constants:
$this->_securitySalt = CONFIG_SECURITY_SALT;
$this->_bbbServerBaseUrl = CONFIG_SERVER_BASE_URL;
}
} // END OF BIGBLUEBUTTON CLASS
?>

@ -1,6 +1,12 @@
<?php
/* For licensing terms, see /license.txt */
/**
* Class TicketPlugin definition file
* @package chamilo.plugin.ticket
*/
/**
* Class TicketPlugin
*/
class TicketPlugin extends Plugin
{
static function create() {
@ -13,7 +19,6 @@ class TicketPlugin extends Plugin
}
function install() {
// Create database tables
require_once api_get_path(SYS_PLUGIN_PATH).PLUGIN_NAME.'/database.php';

@ -1,4 +1,4 @@
<?php
/* For licensing terms, see /license.txt */
require_once dirname(__FILE__).'/config.php';
$plugin_info = TicketPlugin::create()->get_info();

@ -1 +1 @@
This plugin Ticket Support
This plugin provides the support ticket management system features

@ -1,12 +1,12 @@
<?php
/* For licensing terms, see /license.txt */
/**
* This script initiates a videoconference session, calling the BigBlueButton API
* @package chamilo.plugin.bigbluebutton
* This script initiates a ticket management system session
* @package chamilo.plugin.ticket
*/
/**
* Initialization
*/
$course_plugin = 'ticket'; //needed in order to load the plugin lang variables
require_once dirname(__FILE__).'/config.php';
$tool_name = get_lang('Ticket');

@ -1,5 +1,5 @@
<?php
/* For licensing terms, see /license.txt */
/**
* This script is included by main/admin/settings.lib.php when unselecting a plugin
* and is meant to remove things installed by the install.php script in both

Loading…
Cancel
Save