Версия полностью совместимая c CMS

This commit is contained in:
origami11 2017-02-17 17:31:17 +03:00
parent 7ce493414e
commit 75bb35d5bf
21 changed files with 1404 additions and 783 deletions

View file

@ -1,5 +1,7 @@
<?php
require_once __DIR__ .'/../tools/string.php';
class Database_PDOStatement extends PDOStatement implements IteratorAggregate
{
protected $cursorPos = 0;
@ -86,7 +88,7 @@ class Database_PDOStatement extends PDOStatement implements IteratorAggregate
}
function getArray($name) {
return Tools_String::strToArray($this->fields[$name]);
return strToArray($this->fields[$name]);
}
function getRecordCount() {