• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No Model errors reported when calling Global Controller Method

#3
I managed to crack it Smile

Added this to the Model:
use App\Libraries\L_super;

//===============================================
public function __construct(...$params)
{
$this->l_super = new \App\Libraries\L_super();
}//


//============================================================
public function dbWriteCsv(
string $fCsv,
int $iDevId=0,
string $sensorName='NO NAME???'
)
:int
{
// ...
// ...

$tmp = $this->l_super->addHour2UKTime((string) $row->tstamp, $lBKK=false);
var_dump($tmp);
// /var/www/this-is-a-test.com/app/Models/M_ci4.php:102:int 1548567540
CI4 Develop Site - progressing nicely - Thank you Smile
https://johns-jokes.cf/pictures

Reply


Messages In This Thread
RE: No Model errors reported when calling Global Controller Method - by John_Betong - 02-16-2019, 05:44 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.