|
PntDao |
PntMysqlDao |
PntPdoDao |
PntSqliteDao |
|
__construct |
_runQuery |
beginTransaction |
commit |
connect |
dataSeek |
getAssocRow |
getAssocRows |
getDbmsName |
getFieldNames |
getInsertId |
getParamType |
getRow |
getSingleValue |
param |
quote |
release |
returns true, dataSeek should be supported too
*/
function supportsSelectRowCount |
rollBack |
|
<?php
/* Copyright (c) MetaClass, 2003-2017
Distrubuted and licensed under under the terms of the GNU Affero General Public License
version 3, or (at your option) any later version.
This program is distributed WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License, http://www.gnu.org/licenses/agpl.txt */
Gen::includeClass('', 'pnt/db/dao');
/** Objects of this class are used for generating and executing database queries.
* This class implements access through the Php Data Object (PDO) interface.
* Instances of this class use the default cursor type, which is forward-only
* @see http://www.phppeanuts.org/site/index_php/Pagina/50
*
* This abstract superclass provides behavior for the concrete
* subclass QueryHandler in the root classFolder or in the application classFolder.
* To keep de application developers code (including localization overrides)
* separated from the framework code override methods in the
* concrete subclass rather then modify them here.
* @see http://www.phppeanuts.org/site/index_php/Menu/178
* @package pnt/db/dao
*/
class PntPdoDao extends {
/** Holds parameter values that have been collected through
* calls to ::convertToSql and ::convertConditionArgumentToSql
*/
public $parameters;
/** PDOStatement Prepared statement */
public $statement;
public $dbSource;
public $preparedQuery;
public $error;
public $errorInfo;
public $result;
public $errNo;
public $rowIndex;
public $columnsMeta;
|
Copyright (c) MetaClass, 2003-
This code is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This code is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
Click here for a copy of the license or see http://www.gnu.org/licenses/ .
|
|