Правки namespace

This commit is contained in:
CORP\phedor 2018-04-13 17:59:57 +03:00
parent ee06f1febb
commit 524b27936a
39 changed files with 141 additions and 120 deletions

View file

@ -4,7 +4,8 @@
* Класс сервиса = Упрощенный компонент
*/
namespace ctiso\Controller;
use ctiso\Path;
use ctiso\Path,
ctiso\Database\PDOStatement;
class Service
{
@ -49,7 +50,7 @@ class Service
return $model;
}
public function options($key, $val, /*.Database_PDOStatement.*/$res) {
public function options($key, $val, /*.PDOStatement.*/$res) {
$result = array();
while($res->next()) {
$result[] = array('value' => $res->getInt($key), 'name' => $res->getString($val));