PluginProbe
ShiftController Employee Shift Scheduling / 2.2.3
ShiftController Employee Shift Scheduling v2.2.3
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
shiftcontroller / happ / system / core / Controller.php

Controller.php in ShiftController Employee Shift Scheduling 2.2.3, at happ/system/core/Controller.php

74 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2 /**
3 * CodeIgniter
4 *
5 * An open source application development framework for PHP 5.1.6 or newer
6 *
7 * @package CodeIgniter
8 * @author ExpressionEngine Dev Team
9 * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
10 * @license http://codeigniter.com/user_guide/license.html
11 * @link http://codeigniter.com
12 * @since Version 1.0
13 * @filesource
14 */
15
16 // ------------------------------------------------------------------------
17
18 /**
19 * CodeIgniter Application Controller Class
20 *
21 * This class object is the super class that every library in
22 * CodeIgniter will be assigned to.
23 *
24 * @package CodeIgniter
25 * @subpackage Libraries
26 * @category Libraries
27 * @author ExpressionEngine Dev Team
28 * @link http://codeigniter.com/user_guide/general/controllers.html
29 */
30 class CI_Controller {
31
32 private static $instance;
33
34 /**
35 * Constructor
36 */
37 public function __construct()
38 {
39 self::$instance =& $this;
40
41 // Assign all the class objects that were instantiated by the
42 // bootstrap file (CodeIgniter.php) to local class variables
43 // so that CI can run as one big super object.
44 foreach (is_loaded() as $var => $class)
45 {
46 $this->$var =& load_class($class);
47 }
48
49 $this->load =& load_class('Loader', 'core');
50 $this->load->initialize();
51
52 log_message('debug', "Controller Class Initialized");
53 }
54
55 public function remote_integration()
56 {
57 $return = '';
58 $app = $this->config->item('nts_app');
59 if( isset($GLOBALS['NTS_CONFIG'][$app]['REMOTE_INTEGRATION']) )
60 {
61 $return = $GLOBALS['NTS_CONFIG'][$app]['REMOTE_INTEGRATION'];
62 }
63 return $return;
64 }
65
66 public static function &ci_get_instance()
67 {
68 return self::$instance;
69 }
70 }
71 // END Controller class
72
73 /* End of file Controller.php */
74 /* Location: ./system/core/Controller.php */