Extend CI's controller to automatically load language files

This commit is contained in:
Eike Foken
2011-08-08 00:33:26 +02:00
parent 956ebb8ae3
commit 891caabb56
11 changed files with 53 additions and 57 deletions

View File

@@ -27,14 +27,14 @@
*
* @author Karsten Heiken <karsten@disposed.de>
*/
class api extends CI_Controller {
class Api extends CI_Controller {
/**
* Update the state of a given job.
*
*
* Because we do not want any access from servers we do not trust,
* we need a special secret to authenticate the servers.
*
*
* @param type $secret The secret to authenticate the server.
* @param type $job_id The job id that is running on the server.
* @param type $state The state of the job.