亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? common.php

?? PhpWiki是sourceforge的一個開源項目
?? PHP
?? 第 1 頁 / 共 5 頁
字號:
     *     * @param mixed  $nativecode  the native error code, as returned by the     * backend database extension (string or integer)     *     * @return int a portable DB error code, or DB_ERROR if this DB     * implementation has no mapping for the given error code.     *     * @access public     */    function errorCode($nativecode)    {        if (isset($this->errorcode_map[$nativecode])) {            return $this->errorcode_map[$nativecode];        }        // Fall back to DB_ERROR if there was no mapping.        return DB_ERROR;    }    // }}}    // {{{ errorMessage()    /**     * Map a DB error code to a textual message.  This is actually     * just a wrapper for DB::errorMessage()     *     * @param integer $dbcode the DB error code     *     * @return string the corresponding error message, of false     * if the error code was unknown     *     * @access public     */    function errorMessage($dbcode)    {        return DB::errorMessage($this->errorcode_map[$dbcode]);    }    // }}}    // {{{ raiseError()    /**     * Communicate an error and invoke error callbacks, etc     *     * Basically a wrapper for PEAR::raiseError without the message string.     *     * @param mixed    integer error code, or a PEAR error object (all     *                 other parameters are ignored if this parameter is     *                 an object     *     * @param int      error mode, see PEAR_Error docs     *     * @param mixed    If error mode is PEAR_ERROR_TRIGGER, this is the     *                 error level (E_USER_NOTICE etc).  If error mode is     *                 PEAR_ERROR_CALLBACK, this is the callback function,     *                 either as a function name, or as an array of an     *                 object and method name.  For other error modes this     *                 parameter is ignored.     *     * @param string   Extra debug information.  Defaults to the last     *                 query and native error code.     *     * @param mixed    Native error code, integer or string depending the     *                 backend.     *     * @return object  a PEAR error object     *     * @access public     * @see PEAR_Error     */    function &raiseError($code = DB_ERROR, $mode = null, $options = null,                         $userinfo = null, $nativecode = null)    {        // The error is yet a DB error object        if (is_object($code)) {            // because we the static PEAR::raiseError, our global            // handler should be used if it is set            if ($mode === null && !empty($this->_default_error_mode)) {                $mode    = $this->_default_error_mode;                $options = $this->_default_error_options;            }            $tmp = PEAR::raiseError($code, null, $mode, $options, null, null, true);            return $tmp;        }        if ($userinfo === null) {            $userinfo = $this->last_query;        }        if ($nativecode) {            $userinfo .= ' [nativecode=' . trim($nativecode) . ']';        }        $tmp = PEAR::raiseError(null, $code, $mode, $options, $userinfo,                                'DB_Error', true);        return $tmp;    }    // }}}    // {{{ setFetchMode()    /**     * Sets which fetch mode should be used by default on queries     * on this connection     *     * @param integer $fetchmode DB_FETCHMODE_ORDERED or     *        DB_FETCHMODE_ASSOC, possibly bit-wise OR'ed with     *        DB_FETCHMODE_FLIPPED.     *     * @param string $object_class The class of the object     *                      to be returned by the fetch methods when     *                      the DB_FETCHMODE_OBJECT mode is selected.     *                      If no class is specified by default a cast     *                      to object from the assoc array row will be done.     *                      There is also the posibility to use and extend the     *                      'DB_row' class.     *     * @see DB_FETCHMODE_ORDERED     * @see DB_FETCHMODE_ASSOC     * @see DB_FETCHMODE_FLIPPED     * @see DB_FETCHMODE_OBJECT     * @see DB_row::DB_row()     * @access public     */    function setFetchMode($fetchmode, $object_class = 'stdClass')    {        switch ($fetchmode) {            case DB_FETCHMODE_OBJECT:                $this->fetchmode_object_class = $object_class;            case DB_FETCHMODE_ORDERED:            case DB_FETCHMODE_ASSOC:                $this->fetchmode = $fetchmode;                break;            default:                return $this->raiseError('invalid fetchmode mode');        }    }    // }}}    // {{{ setOption()    /**     * Set run-time configuration options for PEAR DB     *     * Options, their data types, default values and description:     * <ul>     * <li>     * <var>autofree</var> <kbd>boolean</kbd> = <samp>false</samp>     *      <br />should results be freed automatically when there are no     *            more rows?     * </li><li>     * <var>debug</var> <kbd>integer</kbd> = <samp>0</samp>     *      <br />debug level     * </li><li>     * <var>persistent</var> <kbd>boolean</kbd> = <samp>false</samp>     *      <br />should the connection be persistent?     * </li><li>     * <var>portability</var> <kbd>integer</kbd> = <samp>DB_PORTABILITY_NONE</samp>     *      <br />portability mode constant (see below)     * </li><li>     * <var>seqname_format</var> <kbd>string</kbd> = <samp>%s_seq</samp>     *      <br />the sprintf() format string used on sequence names.  This     *            format is applied to sequence names passed to     *            createSequence(), nextID() and dropSequence().     * </li><li>     * <var>ssl</var> <kbd>boolean</kbd> = <samp>false</samp>     *      <br />use ssl to connect?     * </li>     * </ul>     *     * -----------------------------------------     *     * PORTABILITY MODES     *     * These modes are bitwised, so they can be combined using <kbd>|</kbd>     * and removed using <kbd>^</kbd>.  See the examples section below on how     * to do this.     *     * <samp>DB_PORTABILITY_NONE</samp>     * turn off all portability features     *     * This mode gets automatically turned on if the deprecated     * <var>optimize</var> option gets set to <samp>performance</samp>.     *     *     * <samp>DB_PORTABILITY_LOWERCASE</samp>     * convert names of tables and fields to lower case when using     * <kbd>get*()</kbd>, <kbd>fetch*()</kbd> and <kbd>tableInfo()</kbd>     *     * This mode gets automatically turned on in the following databases     * if the deprecated option <var>optimize</var> gets set to     * <samp>portability</samp>:     * + oci8     *     *     * <samp>DB_PORTABILITY_RTRIM</samp>     * right trim the data output by <kbd>get*()</kbd> <kbd>fetch*()</kbd>     *     *     * <samp>DB_PORTABILITY_DELETE_COUNT</samp>     * force reporting the number of rows deleted     *     * Some DBMS's don't count the number of rows deleted when performing     * simple <kbd>DELETE FROM tablename</kbd> queries.  This portability     * mode tricks such DBMS's into telling the count by adding     * <samp>WHERE 1=1</samp> to the end of <kbd>DELETE</kbd> queries.     *     * This mode gets automatically turned on in the following databases     * if the deprecated option <var>optimize</var> gets set to     * <samp>portability</samp>:     * + fbsql     * + mysql     * + mysqli     * + sqlite     *     *     * <samp>DB_PORTABILITY_NUMROWS</samp>     * enable hack that makes <kbd>numRows()</kbd> work in Oracle     *     * This mode gets automatically turned on in the following databases     * if the deprecated option <var>optimize</var> gets set to     * <samp>portability</samp>:     * + oci8     *     *     * <samp>DB_PORTABILITY_ERRORS</samp>     * makes certain error messages in certain drivers compatible     * with those from other DBMS's     *     * + mysql, mysqli:  change unique/primary key constraints     *   DB_ERROR_ALREADY_EXISTS -> DB_ERROR_CONSTRAINT     *     * + odbc(access):  MS's ODBC driver reports 'no such field' as code     *   07001, which means 'too few parameters.'  When this option is on     *   that code gets mapped to DB_ERROR_NOSUCHFIELD.     *   DB_ERROR_MISMATCH -> DB_ERROR_NOSUCHFIELD     *     *     * <samp>DB_PORTABILITY_NULL_TO_EMPTY</samp>     * convert null values to empty strings in data output by get*() and     * fetch*().  Needed because Oracle considers empty strings to be null,     * while most other DBMS's know the difference between empty and null.     *     *     * <samp>DB_PORTABILITY_ALL</samp>     * turn on all portability features     *     * -----------------------------------------     *     * Example 1. Simple setOption() example     * <code> <?php     * $dbh->setOption('autofree', true);     * ?></code>     *     * Example 2. Portability for lowercasing and trimming     * <code> <?php     * $dbh->setOption('portability',     *                  DB_PORTABILITY_LOWERCASE | DB_PORTABILITY_RTRIM);     * ?></code>     *     * Example 3. All portability options except trimming     * <code> <?php     * $dbh->setOption('portability',     *                  DB_PORTABILITY_ALL ^ DB_PORTABILITY_RTRIM);     * ?></code>     *     * @param string $option option name     * @param mixed  $value value for the option     *     * @return int  DB_OK on success.  DB_Error object on failure.     *     * @see DB_common::$options     */    function setOption($option, $value)    {        if (isset($this->options[$option])) {            $this->options[$option] = $value;            /*             * Backwards compatibility check for the deprecated 'optimize'             * option.  Done here in case settings change after connecting.             */            if ($option == 'optimize') {                if ($value == 'portability') {                    switch ($this->phptype) {                        case 'oci8':                            $this->options['portability'] =                                    DB_PORTABILITY_LOWERCASE |                                    DB_PORTABILITY_NUMROWS;                            break;                        case 'fbsql':                        case 'mysql':                        case 'mysqli':                        case 'sqlite':                            $this->options['portability'] =                                    DB_PORTABILITY_DELETE_COUNT;                            break;                    }                } else {                    $this->options['portability'] = DB_PORTABILITY_NONE;                }            }            return DB_OK;        }        return $this->raiseError("unknown option $option");    }    // }}}    // {{{ getOption()    /**     * Returns the value of an option     *     * @param string $option option name     *     * @return mixed the option value     */    function getOption($option)    {        if (isset($this->options[$option])) {            return $this->options[$option];        }        return $this->raiseError("unknown option $option");    }    // }}}    // {{{ prepare()    /**     * Prepares a query for multiple execution with execute()     *     * Creates a query that can be run multiple times.  Each time it is run,     * the placeholders, if any, will be replaced by the contents of     * execute()'s $data argument.     *     * Three types of placeholders can be used:     *   + <kbd>?</kbd>  scalar value (i.e. strings, integers).  The system     *                   will automatically quote and escape the data.     *   + <kbd>!</kbd>  value is inserted 'as is'     *   + <kbd>&</kbd>  requires a file name.  The file's contents get     *                   inserted into the query (i.e. saving binary     *                   data in a db)     *     * Example 1.     * <code> <?php     * $sth = $dbh->prepare('INSERT INTO tbl (a, b, c) VALUES (?, !, &)');     * $data = array(     *     "John's text",     *     "'it''s good'",     *     'filename.txt'     * );     * $res = $dbh->execute($sth, $data);     * ?></code>     *     * Use backslashes to escape placeholder characters if you don't want     * them to be interpreted as placeholders:     * <pre>     *    "UPDATE foo SET col=? WHERE col='over \& under'"     * </pre>     *     * With some database backends, this is emulated.     *     * {@internal ibase and oci8 have their own prepare() methods.}}     *     * @param string $query query to be prepared     *     * @return mixed DB statement resource on success. DB_Error on failure.     *     * @see DB_common::execute()     * @access public     */    function prepare($query)    {        $tokens   = preg_split('/((?<!\\\)[&?!])/', $query, -1,                               PREG_SPLIT_DELIM_CAPTURE);        $token     = 0;        $types     = array();        $newtokens = array();        foreach ($tokens as $val) {            switch ($val) {                case '?':                    $types[$token++] = DB_PARAM_SCALAR;                    break;                case '&':                    $types[$token++] = DB_PARAM_OPAQUE;                    break;                case '!':                    $types[$token++] = DB_PARAM_MISC;                    break;                default:                    $newtokens[] = preg_replace('/\\\([&?!])/', "\\1", $val);            }        }        $this->prepare_tokens[] = &$newtokens;        end($this->prepare_tokens);        $k = key($this->prepare_tokens);        $this->prepare_types[$k] = $types;        $this->prepared_queries[$k] = implode(' ', $newtokens);        return $k;    }    // }}}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产99精品国产| 欧美色视频在线| 欧美日韩国产小视频| 久久综合色一综合色88| 亚洲永久免费av| 成人av在线资源| 欧美不卡视频一区| 亚洲bt欧美bt精品| 91浏览器入口在线观看| 国产欧美综合色| 国产呦萝稀缺另类资源| 91精品国产手机| 亚洲国产精品久久艾草纯爱| 93久久精品日日躁夜夜躁欧美| 久久久青草青青国产亚洲免观| 秋霞影院一区二区| 777午夜精品视频在线播放| 一区二区成人在线视频 | 欧美揉bbbbb揉bbbbb| 日本一区免费视频| 国产91在线观看| 337p粉嫩大胆噜噜噜噜噜91av| 日韩av中文字幕一区二区三区| 欧美日韩美少妇| 一区二区三区视频在线观看| av一区二区三区黑人| 国产精品国产三级国产专播品爱网| 国产精品456| 国产情人综合久久777777| 色综合 综合色| 国产日韩精品一区二区三区 | 9i看片成人免费高清| 国产亚洲精品超碰| 粉嫩一区二区三区性色av| 久久久亚洲午夜电影| 国产伦理精品不卡| 久久久精品欧美丰满| 国产成人日日夜夜| 中文字幕字幕中文在线中不卡视频| a在线播放不卡| 亚洲黄一区二区三区| 欧洲精品一区二区| 日本免费新一区视频| 精品免费99久久| 福利电影一区二区| 亚洲自拍偷拍欧美| 91精品国产综合久久久久久漫画 | 欧美一区二区啪啪| 麻豆成人av在线| 中文乱码免费一区二区| 91同城在线观看| 日韩精品一二三区| 久久久久国产免费免费| 成人av免费在线| 香蕉久久夜色精品国产使用方法| 日韩欧美你懂的| 99久久久久免费精品国产| 亚洲午夜精品在线| 久久综合久色欧美综合狠狠| 成人国产在线观看| 天天色综合天天| 欧美国产精品一区二区| 在线观看国产日韩| 国产精品一区二区久久不卡| 1区2区3区国产精品| 欧美日韩国产另类一区| 韩国理伦片一区二区三区在线播放| 国产精品视频免费| 欧美一区二区啪啪| 成人av在线资源网| 久久精品国产秦先生| 1区2区3区欧美| 欧美xxxxxxxx| 日本韩国精品在线| 国产精品一区二区黑丝| 亚洲成人午夜电影| 中文字幕制服丝袜一区二区三区| 69p69国产精品| 色噜噜狠狠成人网p站| 国精产品一区一区三区mba桃花| 伊人一区二区三区| 亚洲国产精品国自产拍av| 91精品国产91久久综合桃花| 色诱亚洲精品久久久久久| 国产在线精品一区二区三区不卡| 午夜视频久久久久久| 成人免费一区二区三区视频 | 麻豆精品国产传媒mv男同| 亚洲免费看黄网站| 国产精品人成在线观看免费| 91精品婷婷国产综合久久竹菊| 91麻豆福利精品推荐| 成人性视频网站| 精品一区二区在线播放| 水蜜桃久久夜色精品一区的特点| 亚洲精品高清在线| 国产精品看片你懂得| 国产日韩精品一区二区浪潮av| 日韩精品资源二区在线| 欧美精品v国产精品v日韩精品 | 国产综合成人久久大片91| 污片在线观看一区二区| 亚洲综合色丁香婷婷六月图片| 成人欧美一区二区三区白人 | 久久影院视频免费| 欧美成人官网二区| 精品国产伦一区二区三区观看体验 | 日本成人在线看| 亚洲成人动漫av| 午夜婷婷国产麻豆精品| 亚洲chinese男男1069| 亚洲在线成人精品| 亚洲国产精品久久久久婷婷884| 亚洲免费观看高清| 亚洲亚洲精品在线观看| 一区二区三区成人| 亚洲午夜久久久久久久久久久| 亚洲综合色区另类av| 午夜欧美视频在线观看 | 777午夜精品免费视频| 欧美疯狂性受xxxxx喷水图片| 欧美高清你懂得| 欧美一级艳片视频免费观看| 91麻豆精品国产综合久久久久久 | 日本精品一区二区三区高清| 一本色道久久综合狠狠躁的推荐| 91成人网在线| 欧美一区二区啪啪| 久久精品欧美日韩| 中文字幕亚洲一区二区av在线| 亚洲色图制服丝袜| 五月婷婷激情综合| 国产专区欧美精品| 99精品国产热久久91蜜凸| 欧美在线免费视屏| 欧美成人女星排名| 国产精品美女www爽爽爽| 亚洲美女精品一区| 免费观看91视频大全| 国产一区二区三区在线观看精品| 成人动漫精品一区二区| 欧美视频一区在线| 亚洲精品一区二区三区福利| 国产精品视频一二| 日本成人在线一区| 成人午夜电影小说| 欧美精品一二三| 国产精品久久久久久久久久久免费看 | 中文字幕在线免费不卡| 亚洲成年人影院| 国产精品香蕉一区二区三区| 色噜噜狠狠成人网p站| 精品美女一区二区三区| 亚洲欧美日韩久久| 久久国产精品区| 日本久久电影网| 国产色产综合产在线视频| 亚洲第一久久影院| 不卡一区二区三区四区| 在线播放/欧美激情| 欧美高清在线精品一区| 日韩精品亚洲一区二区三区免费| 成人激情视频网站| 亚洲精品一区二区三区精华液| 洋洋成人永久网站入口| 国产精品主播直播| 欧美高清hd18日本| 亚洲免费观看在线观看| 国产精品99久久久久久有的能看| 欧美精品在欧美一区二区少妇| 欧美高清在线精品一区| 卡一卡二国产精品| 欧美疯狂性受xxxxx喷水图片| 亚洲欧洲美洲综合色网| 国产一区二区在线影院| 欧美美女一区二区三区| 亚洲色图在线视频| 成人福利视频在线看| 久久天堂av综合合色蜜桃网| 免费观看一级欧美片| 欧美视频第二页| 亚洲午夜精品久久久久久久久| 99久久国产综合色|国产精品| 久久久久久久久久看片| 国内成+人亚洲+欧美+综合在线| 91精品国产91久久久久久一区二区| 一个色在线综合| 欧洲精品一区二区| 亚洲午夜一二三区视频| 色婷婷国产精品综合在线观看| 亚洲欧洲制服丝袜| 色综合久久六月婷婷中文字幕| 欧美激情中文不卡| 国产一区亚洲一区| 久久女同互慰一区二区三区| 久久99精品久久只有精品| 精品国产一区二区国模嫣然| 蜜臀精品一区二区三区在线观看 | 91.com视频| 免费成人小视频|