[SOLVED]Class as Library |
HI , i try to use this class :
https://github.com/bluerhinos/phpMQTT as library . I change class name as PhpMQTT and load the library : Code: $params = array('address' => $server, 'port' => $port ,'clientid' => $client_id ); but when i call a method of library i have : Message: Undefined property: Ajax_call_device::$phpMQTT on line 283 this is the 283 line : if ($this->phpMQTT->connect(true, NULL, $username, $password)) How can i solve ? |
Messages In This Thread |
[SOLVED]Class as Library - by pippuccio76 - 11-15-2020, 01:28 PM
RE: Class as Library - by InsiteFX - 11-15-2020, 02:00 PM
RE: Class as Library - by pippuccio76 - 11-16-2020, 04:59 AM
RE: Class as Library - by InsiteFX - 11-16-2020, 06:13 AM
RE: Class as Library - by pippuccio76 - 11-16-2020, 06:41 AM
|