FuelPHP Bin
<?php // First controller in Module "Main" namespace Main; class Controller_Admin_Main_Settings extends \Controller_Admin { public function before() { parent::before(); \Lang::load('main', null, null, true); $theme = \Theme::instance(); $theme->set_partial('subnavigation', 'partials/subnavigation'); $theme->get_template() ->set('headline', __('settings')) ->set('slogan', __('settingslogan')) ->set('icon', 'icon-wrench'); } // In this controller (Module Users) I want to extend from the First controller to include all data from before() namespace Users; class Controller_Admin_Users_Settings extends \Main\Controller_Admin_Main_Settings { public function before() { parent::before(); } // I receive the following error Message ErrorException [ Error ]: Class 'Main\Controller_Admin_Main_Settings' not found