19declare(strict_types=1);
 
   48            return $this->pdo_statement->fetch(PDO::FETCH_ASSOC);
 
   52            return $this->pdo_statement->fetch(PDO::FETCH_OBJ);
 
   55        throw new ilDatabaseException(
"No valid fetch mode given, choose ilDBConstants::FETCHMODE_ASSOC or ilDBConstants::FETCHMODE_OBJECT");
 
   73        $this->pdo_statement->closeCursor();
 
   79        return $this->pdo_statement->rowCount();
 
   97        return $this->pdo_statement->rowCount();
 
  103        $this->pdo_statement->
execute($a_data);
 
  110        return $this->pdo_statement->errorCode();
 
  115        return $this->pdo_statement->errorInfo();
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Class ilPDOStatement is a Wrapper Class for PDOStatement.
 
__construct(PDOStatement $pdo_statement)
 
PDOStatement $pdo_statement
 
fetchRow(int $fetch_mode=ilDBConstants::FETCHMODE_ASSOC)
 
closeCursor()
Pdo allows for a manual closing of the cursor.
 
execute(array $a_data=null)
 
fetch(int $fetch_mode=ilDBConstants::FETCHMODE_ASSOC)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
execute(array $a_data=null)