I want to research the source code of pyrocms, and when I read the Base.php
, I can't understand the following code
new CI;
the file is system/cms/libraries/Base.php
My problems are
- why there has no a variable name, like
$CI = new CI
; - why it can be used as
CI::$APP->config->item('controller_suffix')
in it's sub classMX_Controller
since there does not have variable name?
Thank you very much!!!