Resources\Controller::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        $child = get_class($this);
        $this->childClass = ['namespaceArray' => explode('\\', $child), 'namespaceString' => $child];
        $this->configMain = Config::main();
        $this->uri = \Gear::$uri;
    }

Usage Example

Example #1
0
 /**
  * @Author				: Localhost {Ferdhika Yudira}
  * @Email				: [email protected]
  * @Web					: http://dika.web.id
  * @Date					: 2015-12-01 08:00:18
  **/
 function __construct()
 {
     parent::__construct();
     $this->m_matkul = new Models\M_matkul();
     $this->m_materi = new Models\M_materi();
     $this->konfig = Resources\Config::website();
 }
All Usage Examples Of Resources\Controller::__construct