$tmp=$mainData[0]->getID();// А обращение к одному из не срабатывает, текст ошибки: Fatal error: Call to a member function getKebID() on a non-object in D:\***\edit.php on line 17
PHP Notice: Undefined variable: mapper in /home/77XEYr/prog.php on line 3
PHP Fatal error: Call to a member function getAllData() on null in /home/77XEYr/prog.php on line 3