CodeIgniter Forums

Full Version: chain controller use
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]kodkanyon[/eluser]
hello
in controllers,

$this->image_lib->initialize($config);
$this->image_lib->resize();
$this->image_lib->clear();

$this->kontrol->giris_yapildi();
$this->kontrol->default_lang();

i am using like above

$this->image_lib->initialize($config)->resize()->clear();
$this->kontrol->giris_yapildi()->default_lang();

if i change those like this would there be any problems?

and sytem/helpers and libraries supported?

El Forum

[eluser]solid9[/eluser]
Try it.