note 59355 deleted from book.pdo by cmb

From: Date: Fri, 28 Aug 2020 11:07:40 +0000
Subject: note 59355 deleted from book.pdo by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-215034@lists.php.net to get a copy of this message
Note Submitter: Matthias Leuffen ---- Hi there, because of ZDE 5.0 and other PHP-IDEs do not seem to support PDO from PHP5.1 in code-completion-database yet, I wrote a code-completion alias for the PDO class. NOTE: This Class has no functionality and should be only included to your IDE-Project but NOT(!) to your application. <?php /** * This is a Code-Completion only file * (For use with ZDE or other IDEs) * * Do NOT include() or require() this to your code * * @author Matthias Leuffen */ class PDO { /** * Error Constants * */ const ERR_ALREADY_EXISTS = 0; const ERR_CANT_MAP = 0; const ERR_NOT_FOUND = 0; const ERR_SYNTAX = 0; const ERR_CONSTRAINT = 0; const ERR_MISMATCH = 0; const ERR_DISCONNECTED = 0; const ERR_NONE = 0; /** * Attributes (to use in PDO::setAttribute() as 1st Parameter) * */ const ATTR_ERRMODE = 0; const ATTR_TIMEOUT = 0; const ATTR_AUTOCOMMIT = 0; const ATTR_PERSISTENT = 0; // Values for ATTR_ERRMODE const ERRMODE_EXCEPTION = 0; const ERRMODE_WARNING = 0; const FETCH_ASSOC = 0; const FETCH_NUM = 0; const FETCH_OBJ = 0; public function __construct($uri, $user, $pass, $optsArr) { } /** * Prepare Statement: Returns PDOStatement * * @param string $prepareString * @return PDOStatement */ public function prepare ($prepareString) { } public function query ($queryString) { } public function quote ($input) { } public function exec ($statement) { } public function lastInsertId() { } public function beginTransaction () { } public function commit () { } public function rollBack () { } public function errorCode () { } public function errorInfo () { } } class PDOStatement { public function bindValue ($no, $value) { } public function fetch () { } public function nextRowset () { } public function execute() { } public function errorCode () { } public function errorInfo () { } public function rowCount () { } public function setFetchMode ($mode) { } public function columnCount () { } }

« previous php.notes (#215034) next »