Welcome Guest, Not a member yet? Register   Sign In
codeignitier and eclipse
#41

[eluser]Unknown[/eluser]
I have best way to add autocomplete in eclipse

class CI_Base {
/**
/* add all vars in this class like..load,uri etc
var $load
var $uri

function CI_Base()

}

/**---------------------------------------------------------------------------------
/* in your class libray add some variables and function
/* as this

class CI_URI {

//add this var to you library class
private static $instance;

function CI_URI()
{
//add this line into constuctor method
self::$instance =& $this;
}

//add this function

public static function &get;_uri_instance()
{
return self::$instance;
}

}//end class

//add one more method out of this class

function &get;_uri_instance()
{
return CI_URI::get_uri_instance();
}
// end of URI.php file

//-------------------------------------------------------------------------
// add this class into library folder
class Autoassist extends CI_Base
{


function __construct()
{
$this->uri =& get_uri_instance();
}//end funciton
}//end class


Messages In This Thread
codeignitier and eclipse - by El Forum - 06-03-2008, 11:14 AM
codeignitier and eclipse - by El Forum - 06-03-2008, 11:41 AM
codeignitier and eclipse - by El Forum - 06-03-2008, 12:04 PM
codeignitier and eclipse - by El Forum - 06-03-2008, 12:22 PM
codeignitier and eclipse - by El Forum - 06-03-2008, 12:27 PM
codeignitier and eclipse - by El Forum - 06-03-2008, 12:37 PM
codeignitier and eclipse - by El Forum - 06-03-2008, 01:10 PM
codeignitier and eclipse - by El Forum - 06-03-2008, 01:19 PM
codeignitier and eclipse - by El Forum - 06-03-2008, 02:11 PM
codeignitier and eclipse - by El Forum - 06-03-2008, 06:09 PM
codeignitier and eclipse - by El Forum - 06-04-2008, 12:55 AM
codeignitier and eclipse - by El Forum - 06-04-2008, 03:08 AM
codeignitier and eclipse - by El Forum - 06-04-2008, 12:05 PM
codeignitier and eclipse - by El Forum - 06-04-2008, 01:35 PM
codeignitier and eclipse - by El Forum - 06-05-2008, 10:10 AM
codeignitier and eclipse - by El Forum - 06-05-2008, 01:16 PM
codeignitier and eclipse - by El Forum - 06-05-2008, 01:37 PM
codeignitier and eclipse - by El Forum - 06-06-2008, 01:51 AM
codeignitier and eclipse - by El Forum - 06-08-2008, 08:26 AM
codeignitier and eclipse - by El Forum - 06-09-2008, 05:52 AM
codeignitier and eclipse - by El Forum - 06-10-2008, 12:28 AM
codeignitier and eclipse - by El Forum - 06-10-2008, 02:06 AM
codeignitier and eclipse - by El Forum - 08-04-2008, 02:49 PM
codeignitier and eclipse - by El Forum - 08-04-2008, 03:35 PM
codeignitier and eclipse - by El Forum - 08-05-2008, 05:40 AM
codeignitier and eclipse - by El Forum - 09-27-2008, 06:31 PM
codeignitier and eclipse - by El Forum - 09-28-2008, 05:12 AM
codeignitier and eclipse - by El Forum - 09-28-2008, 07:41 AM
codeignitier and eclipse - by El Forum - 09-28-2008, 12:27 PM
codeignitier and eclipse - by El Forum - 09-28-2008, 02:20 PM
codeignitier and eclipse - by El Forum - 09-28-2008, 04:43 PM
codeignitier and eclipse - by El Forum - 09-29-2008, 02:31 AM
codeignitier and eclipse - by El Forum - 09-29-2008, 06:05 AM
codeignitier and eclipse - by El Forum - 09-29-2008, 08:22 AM
codeignitier and eclipse - by El Forum - 09-29-2008, 02:06 PM
codeignitier and eclipse - by El Forum - 12-09-2008, 05:25 AM
codeignitier and eclipse - by El Forum - 04-13-2009, 01:43 PM
codeignitier and eclipse - by El Forum - 10-16-2009, 02:38 AM
codeignitier and eclipse - by El Forum - 10-16-2009, 03:25 AM
codeignitier and eclipse - by El Forum - 10-19-2009, 02:58 PM
codeignitier and eclipse - by El Forum - 03-05-2010, 08:50 AM
codeignitier and eclipse - by El Forum - 03-06-2010, 09:05 AM
codeignitier and eclipse - by El Forum - 03-06-2010, 02:02 PM
codeignitier and eclipse - by El Forum - 02-02-2011, 03:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB