Minor - format code

skala
Julio Montoya 12 years ago
parent b2b335493f
commit dd8337fd72
  1. 6
      src/ChamiloLMS/Controller/CertificateController.php
  2. 4
      src/ChamiloLMS/Controller/CourseHomeController.php
  3. 1
      src/ChamiloLMS/Controller/UserPortalController.php

@ -14,14 +14,14 @@ use Symfony\Component\HttpFoundation\Response;
class CertificateController
{
/**
*
* @param $id
* @return string
*/
public function indexAction($id)
{
$certificate = new \Certificate($id);
//Show certificate HTML
// Show certificate HTML.
return $certificate->show(true);
}
}
}

@ -6,7 +6,7 @@ use Silex\Application;
use Symfony\Component\HttpFoundation\Response;
/**
* Class LearnpathController
* Class CourseHomeController
* @package ChamiloLMS\Controller
* @author Julio Montoya <gugli100@gmail.com>
*/
@ -125,4 +125,4 @@ class CourseHomeController
//DocumentManager::file_send_for_download($full_file_name);
return $app->sendFile($filePath);
}
}
}

@ -10,6 +10,7 @@ use Symfony\Component\HttpFoundation\Response;
/**
* Class UserPortalController
* @package ChamiloLMS\Controller
* @todo Improve this class in order to use better helpers and not just call the page_controller service
* @author Julio Montoya <gugli100@gmail.com>
*/
class UserPortalController extends CommonController

Loading…
Cancel
Save