CodeIgniter Forums
CI and soapclient class - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: CI and soapclient class (/thread-49357.html)

CI and soapclient class - El Forum - 02-16-2012

Hi everyone Smile

I've written a class, which is extension of SoapClient, and it is soo good, that i want to start putting received information (from my methods Wink ) to database, and I want use codeigniter... But I have problem - I have no idae where to "put in a project " my MySoapClientClass"..

I wanted to make it as a 'model', but.. it cannot extends CI_Model, it has to extends SoapClient.. So my idea for workaround..
Can it be like that?:

class MySoapClass extends SoapClient  {


class My_Model extends CI_Model {


class My_Contr extends CI_Controller {
     public function __construct() {
        public class save_data() {


something like that?