If in my game my.game.php' s getAllDatas() I put:
everything is ok. However, if I put:
with an optional true parameter at the end, reloading the page brings up a score of warnings of this kind:
which is not a file under my control (my game is NOT named "table" nor "220513-1000" is its version!) and the UI is garbled.
Are there contexts where the optional true parameter can be used and contexts where it cannot? I found no mention of this in the documentation.
Code: Select all
$result['players'] = self::getCollectionFromDb($sqlquery);Code: Select all
$result['players'] = self::getCollectionFromDb($sqlquery, true);Code: Select all
Warning: Illegal string offset 'color' in /var/tournoi/release/tournoi-220513-1000-gs/www/game/module/table/table.game.php on line 232Are there contexts where the optional true parameter can be used and contexts where it cannot? I found no mention of this in the documentation.