Adding CertificateController and CourseHomeController (not used yet) + adding comments

skala
Julio Montoya 12 years ago
parent 9a158041d3
commit 8cd8f8145c
  1. 2
      certificates/index.php
  2. 1
      sincro/index.php
  3. 21
      src/ChamiloLMS/Controller/CertificateController.php
  4. 21
      src/ChamiloLMS/Controller/CourseHomeController.php

@ -7,7 +7,7 @@
/**
* Initialization
* @todo replace me with a controller
* @todo replace me with a controller!
*/
$language_file= array('admin', 'gradebook', 'document');

@ -8,6 +8,7 @@
*/
/**
* Initialization
* @todo replace this folder with a controller
*/
$language_file = 'admin';
$cidReset = true;

@ -0,0 +1,21 @@
<?php
namespace ChamiloLMS\Controller;
use Silex\Application;
use Symfony\Component\HttpFoundation\Response;
/**
* Class LearnpathController
* @package ChamiloLMS\Controller
*/
class CertificateController
{
public function indexAction()
{
/*$certificate = new Certificate($_GET['id']);
//Show certificate HTML
$certificate->show();*/
}
}

@ -0,0 +1,21 @@
<?php
namespace ChamiloLMS\Controller;
use Silex\Application;
use Symfony\Component\HttpFoundation\Response;
/**
* Class LearnpathController
* @package ChamiloLMS\Controller
*/
class CourseHomeController
{
public function indexAction()
{
/*$certificate = new Certificate($_GET['id']);
//Show certificate HTML
$certificate->show();*/
}
}
Loading…
Cancel
Save