This commit is contained in:
Paminger
2016-06-28 12:34:12 +02:00
parent 5e4090e0ce
commit e21b2f6233
12 changed files with 409 additions and 90 deletions
+9 -1
View File
@@ -19,6 +19,14 @@ trait db_extra
}
}
public function db_num_rows($result=null)
{
if(is_null($result))
return pg_num_rows($this->db_result);
else
return pg_num_rows($result);
}
public function db_fetch_object($result = null, $i=null)
{
if(is_null($result))
@@ -150,4 +158,4 @@ trait db_extra
{
return pg_last_error();
}
}
}