Welcome Guest, Not a member yet? Register   Sign In
Multiple method calls from library
#6

you mean like this?
[Image: library_loop_juipk0.png]
try to re-write tour library to :
PHP Code:
class Test
{
    
    protected 
$ci;
    protected 
$value;

    public function 
__construct()
    {
 
       $this->ci =& get_instance();
    }

    public function 
set($value)
 
   {
 
       $this->value $value;
 
   }
 
       
    public 
function get()
 
   {
 
       return $this->value;
 
   }


Caffeine IT Solutions | Bina Darma University
Reply


Messages In This Thread
RE: Multiple method calls from library - by ramadhansutejo - 11-06-2016, 06:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB