[eluser]coolfactor[/eluser]
Quote:Will this practice break the encapsulation of the object design?
Can you clarify this question? Provide some examples of what you want to do?
Certain objects are made available to other objects that you load (libraries, views, models), but keep in mind that everything that is accessible in your controller is always available using the following:
Code:
$CI = get_instance();
$CI->object_your_want_to_access;
$CI is your controller instance (CI stands for "CodeIgniter", but more realistically for "controller instance")