Doctrine API

download Doctrine API

of 630

Transcript of Doctrine API

  • 8/7/2019 Doctrine API

    1/629

    Doctrine API Documentation

    Complete reference for the Doctrine codebase.

    Doctrine 1.1Version: api-1.1-2009-05-13

  • 8/7/2019 Doctrine API

    2/629

    Table of Contents

    Doctrine_Parser_YamlSf.................................................................................. 68Method Summary .................................................................................................... 68Method Details......................................................................................................... 68

    dump................................................................................................................................... 68load..................................................................................................................................... 68

    Doctrine_Parser_YamlSf_Dumper ................................................................... 69Method Summary .................................................................................................... 69Method Details......................................................................................................... 69

    dump................................................................................................................................... 69

    Doctrine_Parser_YamlSf_Inline....................................................................... 69Method Summary .................................................................................................... 69Method Details......................................................................................................... 70

    dump................................................................................................................................... 70load..................................................................................................................................... 70evaluateScalar .................................................................................................................... 70parseSequence ................................................................................................................... 70

    parseMapping..................................................................................................................... 71parseScalar......................................................................................................................... 71dumpArray.......................................................................................................................... 71getTimestampRegex........................................................................................................... 71parseQuotedScalar............................................................................................................. 71

    Doctrine_Parser_YamlSf_Parser...................................................................... 72Method Summary .................................................................................................... 72Method Details......................................................................................................... 72

    getNextEmbedBlock........................................................................................................... 72getRealCurrentLineNb....................................................................................................... 72parseValue.......................................................................................................................... 73

    isCurrentLineEmpty ........................................................................................................... 73isCurrentLineBlank ............................................................................................................ 73parse................................................................................................................................... 73parseFoldedScalar.............................................................................................................. 73getCurrentLineIndentation ................................................................................................ 74__construct ......................................................................................................................... 74isCurrentLineComment ...................................................................................................... 74isNextLineIndented ............................................................................................................ 74cleanup ............................................................................................................................... 74moveToPreviousLine .......................................................................................................... 74moveToNextLine................................................................................................................. 74

    Doctrine .......................................................................................................... 75Method Summary .................................................................................................... 75Method Details......................................................................................................... 76

    Table of Contents ii

    ----------------- Brought to you by

  • 8/7/2019 Doctrine API

    3/629

  • 8/7/2019 Doctrine API

    4/629

    _commit .............................................................................................................................. 86_setExecuteMode................................................................................................................ 86setFetchMode..................................................................................................................... 86_getExecuteMode ............................................................................................................... 86__construct ......................................................................................................................... 86prepare ............................................................................................................................... 87

    closeConnection ................................................................................................................. 87_connect.............................................................................................................................. 87_quote ................................................................................................................................. 87_beginTransaction .............................................................................................................. 87_rollBack............................................................................................................................. 87

    Doctrine_Adapter_Interface ............................................................................ 88Method Summary .................................................................................................... 88Method Details......................................................................................................... 88

    exec .................................................................................................................................... 88commit................................................................................................................................ 88beginTransaction................................................................................................................ 88

    errorInfo ............................................................................................................................. 88rollBack .............................................................................................................................. 89lastInsertId ......................................................................................................................... 89query................................................................................................................................... 89errorCode ........................................................................................................................... 89quote................................................................................................................................... 89prepare ............................................................................................................................... 89

    Doctrine_Adapter_Mock.................................................................................. 89Method Summary .................................................................................................... 89Method Details......................................................................................................... 90

    pop...................................................................................................................................... 90

    exec .................................................................................................................................... 90getName ............................................................................................................................. 90getAll .................................................................................................................................. 90commit................................................................................................................................ 91beginTransaction................................................................................................................ 91errorInfo ............................................................................................................................. 91rollBack .............................................................................................................................. 91lastInsertId ......................................................................................................................... 91addQuery ............................................................................................................................ 91query................................................................................................................................... 91errorCode ........................................................................................................................... 91quote................................................................................................................................... 92

    sqliteCreateFunction.......................................................................................................... 92__construct ......................................................................................................................... 92getAttribute........................................................................................................................ 92count................................................................................................................................... 92prepare ............................................................................................................................... 92forceLastInsertIdFail.......................................................................................................... 92forceException.................................................................................................................... 92setAttribute ........................................................................................................................ 93

    Doctrine_Adapter_Mysqli ................................................................................ 93Method Summary .................................................................................................... 93Method Details......................................................................................................... 93

    _commit .............................................................................................................................. 93lastInsertId ......................................................................................................................... 94

    Table of Contents iv

    ----------------- Brought to you by

  • 8/7/2019 Doctrine API

    5/629

    prepare ............................................................................................................................... 94closeConnection ................................................................................................................. 94_connect.............................................................................................................................. 94_beginTransaction .............................................................................................................. 94_rollBack............................................................................................................................. 94

    Doctrine_Adapter_Oracle ................................................................................ 95Method Summary .................................................................................................... 95Method Details......................................................................................................... 95

    exec .................................................................................................................................... 95commit................................................................................................................................ 95beginTransaction................................................................................................................ 96errorInfo ............................................................................................................................. 96rollBack .............................................................................................................................. 96lastInsertId ......................................................................................................................... 96query................................................................................................................................... 96errorCode ........................................................................................................................... 96quote................................................................................................................................... 96

    __construct ......................................................................................................................... 96getAttribute........................................................................................................................ 97prepare ............................................................................................................................... 97getConnection .................................................................................................................... 97setAttribute ........................................................................................................................ 97

    Doctrine_Adapter_Statement .......................................................................... 97Method Summary .................................................................................................... 97Method Details......................................................................................................... 98

    rowCount ............................................................................................................................ 98errorInfo ............................................................................................................................. 98setFetchMode..................................................................................................................... 98

    errorCode ........................................................................................................................... 98fetch.................................................................................................................................... 98columnCount ...................................................................................................................... 99execute ............................................................................................................................... 99bindValue............................................................................................................................ 99nextRowset ......................................................................................................................... 99

    Doctrine_Adapter_Statement_Interface.......................................................... 99Method Summary .................................................................................................... 99Method Details....................................................................................................... 100

    rowCount .......................................................................................................................... 100closeCursor....................................................................................................................... 100

    fetchColumn ..................................................................................................................... 101errorInfo ........................................................................................................................... 101fetchObject ....................................................................................................................... 101setFetchMode................................................................................................................... 101errorCode ......................................................................................................................... 101fetch.................................................................................................................................. 102columnCount .................................................................................................................... 102bindColumn ...................................................................................................................... 102bindParam ........................................................................................................................ 103getAttribute...................................................................................................................... 103execute ............................................................................................................................. 103getColumnMeta................................................................................................................ 104

    bindValue.......................................................................................................................... 104nextRowset ....................................................................................................................... 104

    Table of Contents v

    ----------------- Brought to you by

  • 8/7/2019 Doctrine API

    6/629

    fetchAll ............................................................................................................................. 104setAttribute ...................................................................................................................... 105

    Doctrine_Adapter_Statement_Mock.............................................................. 105Method Summary .................................................................................................. 105Method Details....................................................................................................... 106

    rowCount .......................................................................................................................... 106closeCursor....................................................................................................................... 106fetchColumn ..................................................................................................................... 107errorInfo ........................................................................................................................... 107fetchObject ....................................................................................................................... 107setFetchMode................................................................................................................... 107errorCode ......................................................................................................................... 107fetch.................................................................................................................................. 108columnCount .................................................................................................................... 108bindColumn ...................................................................................................................... 108bindParam ........................................................................................................................ 108__construct ....................................................................................................................... 109

    getAttribute...................................................................................................................... 109execute ............................................................................................................................. 109getColumnMeta................................................................................................................ 109bindValue.......................................................................................................................... 110nextRowset ....................................................................................................................... 110fetchAll ............................................................................................................................. 110setAttribute ...................................................................................................................... 110

    Doctrine_Adapter_Statement_Oracle ............................................................ 111Method Summary .................................................................................................. 111Method Details....................................................................................................... 112

    rowCount .......................................................................................................................... 112

    closeCursor....................................................................................................................... 112fetchColumn ..................................................................................................................... 112errorInfo ........................................................................................................................... 112fetchObject ....................................................................................................................... 113setFetchMode................................................................................................................... 113errorCode ......................................................................................................................... 113fetch.................................................................................................................................. 113columnCount .................................................................................................................... 114bindColumn ...................................................................................................................... 114bindParam ........................................................................................................................ 114__construct ....................................................................................................................... 115getAttribute...................................................................................................................... 115

    execute ............................................................................................................................. 115getColumnMeta................................................................................................................ 115bindValue.......................................................................................................................... 115nextRowset ....................................................................................................................... 116fetchAll ............................................................................................................................. 116setAttribute ...................................................................................................................... 116

    Doctrine_AuditLog ........................................................................................ 117Inheritance................................................................................................................. 0Method Summary .................................................................................................. 117Method Details....................................................................................................... 117

    setTableDefinition ............................................................................................................ 117

    __construct ....................................................................................................................... 117getVersion ........................................................................................................................ 117

    Table of Contents vi

    ----------------- Brought to you by

  • 8/7/2019 Doctrine API

    7/629

    getMaxVersion.................................................................................................................. 117

    Doctrine_AuditLog_Listener.......................................................................... 118Inheritance................................................................................................................. 0Method Summary .................................................................................................. 118Method Details....................................................................................................... 118

    preDelete.......................................................................................................................... 118_getNextVersion ............................................................................................................... 118preInsert........................................................................................................................... 118__construct ....................................................................................................................... 119postInsert ......................................................................................................................... 119preUpdate......................................................................................................................... 119

    Doctrine_Builder ........................................................................................... 119Direct Sub-Classes..................................................................................................... 0Method Summary .................................................................................................. 119Method Details....................................................................................................... 119

    varExport.......................................................................................................................... 119

    Doctrine_Cache ............................................................................................. 120Inheritance................................................................................................................. 0Method Summary .................................................................................................. 120Method Details....................................................................................................... 121

    getOption.......................................................................................................................... 121pop.................................................................................................................................... 121isSuccessful ...................................................................................................................... 121getAll ................................................................................................................................ 121add.................................................................................................................................... 121appendStats...................................................................................................................... 121clean ................................................................................................................................. 122

    preFetch ........................................................................................................................... 122getDriver .......................................................................................................................... 122__construct ....................................................................................................................... 122preFetchAll....................................................................................................................... 122count................................................................................................................................. 122preQuery........................................................................................................................... 122setOption .......................................................................................................................... 123getIterator ........................................................................................................................ 123preExecute ....................................................................................................................... 123reset.................................................................................................................................. 123readStats .......................................................................................................................... 123

    Doctrine_Cache_Apc...................................................................................... 124Inheritance................................................................................................................. 0Method Summary .................................................................................................. 124Method Details....................................................................................................... 124

    delete................................................................................................................................ 124contains ............................................................................................................................ 124save................................................................................................................................... 125fetch.................................................................................................................................. 125__construct ....................................................................................................................... 125

    Doctrine_Cache_Array ................................................................................... 125Method Summary .................................................................................................. 125

    Method Details....................................................................................................... 126delete................................................................................................................................ 126

    Table of Contents vii

    ----------------- Brought to you by

  • 8/7/2019 Doctrine API

    8/629

    contains ............................................................................................................................ 126save................................................................................................................................... 126fetch.................................................................................................................................. 127count................................................................................................................................. 127deleteAll............................................................................................................................ 127

    Doctrine_Cache_Db ....................................................................................... 127Inheritance................................................................................................................. 0Method Summary .................................................................................................. 127Method Details....................................................................................................... 128

    delete................................................................................................................................ 128contains ............................................................................................................................ 128save................................................................................................................................... 128fetch.................................................................................................................................. 128__construct ....................................................................................................................... 129count................................................................................................................................. 129getConnection .................................................................................................................. 129deleteAll............................................................................................................................ 129

    createTable....................................................................................................................... 129

    Doctrine_Cache_Driver.................................................................................. 130Direct Sub-Classes..................................................................................................... 0Method Summary .................................................................................................. 130Method Details....................................................................................................... 130

    getOption.......................................................................................................................... 130__construct ....................................................................................................................... 130setOption .......................................................................................................................... 130

    Doctrine_Cache_Interface ............................................................................. 131Method Summary .................................................................................................. 131

    Method Details....................................................................................................... 131delete................................................................................................................................ 131contains ............................................................................................................................ 131save................................................................................................................................... 132fetch.................................................................................................................................. 132

    Doctrine_Cache_Memcache .......................................................................... 132Inheritance................................................................................................................. 0Method Summary .................................................................................................. 132Method Details....................................................................................................... 133

    delete................................................................................................................................ 133contains ............................................................................................................................ 133

    save................................................................................................................................... 133fetch.................................................................................................................................. 133__construct ....................................................................................................................... 134

    Doctrine_Cache_Xcache ................................................................................ 134Inheritance................................................................................................................. 0Method Summary .................................................................................................. 134Method Details....................................................................................................... 134

    delete................................................................................................................................ 134contains ............................................................................................................................ 134save................................................................................................................................... 135fetch.................................................................................................................................. 135

    __construct ....................................................................................................................... 135

    Doctrine_Cli................................................................................................... 136

    Table of Contents viii

    ----------------- Brought to you by

  • 8/7/2019 Doctrine API

    9/629

    Method Summary .................................................................................................. 136Method Details....................................................................................................... 136

    notify................................................................................................................................. 136printTasks......................................................................................................................... 136_getTaskClassFromArgs ................................................................................................... 137_run................................................................................................................................... 137__construct ....................................................................................................................... 137run .................................................................................................................................... 137loadTasks.......................................................................................................................... 137notifyException................................................................................................................. 137prepareArgs...................................................................................................................... 138getLoadedTasks................................................................................................................ 138

    Doctrine_Cli_AnsiColorFormatter ................................................................. 138Inheritance................................................................................................................. 0Method Summary .................................................................................................. 138Method Details....................................................................................................... 139

    supportsColors ................................................................................................................. 139excerpt.............................................................................................................................. 139formatSection................................................................................................................... 139setStyle............................................................................................................................. 139format ............................................................................................................................... 140

    Doctrine_Cli_Formatter................................................................................. 140Direct Sub-Classes..................................................................................................... 0Method Summary .................................................................................................. 140Method Details....................................................................................................... 140

    setMaxLineSize ................................................................................................................ 140excerpt.............................................................................................................................. 140formatSection................................................................................................................... 141__construct ....................................................................................................................... 141format ............................................................................................................................... 141

    Doctrine_Collection....................................................................................... 141Inheritance................................................................................................................. 0Direct Sub-Classes..................................................................................................... 0Method Summary .................................................................................................. 141Method Details....................................................................................................... 143

    getKeyColumn .................................................................................................................. 143toKeyValueArray............................................................................................................... 143populateRelated ............................................................................................................... 144

    key .................................................................................................................................... 144compareRecords............................................................................................................... 144add.................................................................................................................................... 144clear.................................................................................................................................. 144delete................................................................................................................................ 144getRelation ....................................................................................................................... 144getNormalIterator ............................................................................................................ 144importFrom ...................................................................................................................... 145merge ............................................................................................................................... 145serialize ............................................................................................................................ 145initNullObject ................................................................................................................... 145loadRelated....................................................................................................................... 145

    __toString ......................................................................................................................... 145contains ............................................................................................................................ 145get..................................................................................................................................... 146

    Table of Contents ix

    ----------------- Brought to you by

  • 8/7/2019 Doctrine API

    10/629

    save................................................................................................................................... 146getSnapshot...................................................................................................................... 146processDiff........................................................................................................................ 146setData ............................................................................................................................. 146takeSnapshot.................................................................................................................... 146getReference .................................................................................................................... 147

    getLast.............................................................................................................................. 147getTable............................................................................................................................ 147__construct ....................................................................................................................... 147setReference..................................................................................................................... 147search ............................................................................................................................... 147getDeleteDiff .................................................................................................................... 147count................................................................................................................................. 147synchronizeFromArray ..................................................................................................... 148getFirst ............................................................................................................................. 148end.................................................................................................................................... 148getIterator ........................................................................................................................ 148set ..................................................................................................................................... 148getData ............................................................................................................................. 148setKeyColumn................................................................................................................... 148free ................................................................................................................................... 148remove.............................................................................................................................. 149exportTo ........................................................................................................................... 149getPrimaryKeys ................................................................................................................ 149fromArray ......................................................................................................................... 149toArray.............................................................................................................................. 149unserialize ........................................................................................................................ 149synchronizeWithArray ...................................................................................................... 149getKeys............................................................................................................................. 150getInsertDiff ..................................................................................................................... 150

    Doctrine_Collection_Iterator......................................................................... 150Direct Sub-Classes..................................................................................................... 0Method Summary .................................................................................................. 150Method Details....................................................................................................... 150

    key .................................................................................................................................... 150rewind............................................................................................................................... 151current.............................................................................................................................. 151__construct ....................................................................................................................... 151next................................................................................................................................... 151

    Doctrine_Collection_Iterator_Expandable ....................................................151

    Inheritance................................................................................................................. 0Method Summary .................................................................................................. 151Method Details....................................................................................................... 151

    valid .................................................................................................................................. 151

    Doctrine_Collection_Iterator_Normal ........................................................... 152Inheritance................................................................................................................. 0Method Summary .................................................................................................. 152Method Details....................................................................................................... 152

    valid .................................................................................................................................. 152

    Doctrine_Collection_Iterator_Offset ............................................................. 152

    Inheritance................................................................................................................. 0Method Summary .................................................................................................. 152

    Table of Contents x

    ----------------- Brought to you by

  • 8/7/2019 Doctrine API

    11/629

    Method Details....................................................................................................... 153valid .................................................................................................................................. 153

    Doctrine_Collection_Offset ........................................................................... 153Inheritance................................................................................................................. 0Method Summary .................................................................................................. 153

    Method Details....................................................................................................... 153__construct ....................................................................................................................... 153getLimit ............................................................................................................................ 153getIterator ........................................................................................................................ 153

    Doctrine_Column........................................................................................... 154Inheritance................................................................................................................. 0Method Summary .................................................................................................. 154Method Details....................................................................................................... 154

    contains ............................................................................................................................ 154get..................................................................................................................................... 154getDefinition..................................................................................................................... 154

    __construct ....................................................................................................................... 154count................................................................................................................................. 155enumValue........................................................................................................................ 155enumIndex........................................................................................................................ 155getEnumValues................................................................................................................. 155getIterator ........................................................................................................................ 155set ..................................................................................................................................... 155

    Doctrine_Compiler ........................................................................................ 155Method Summary .................................................................................................. 155Method Details....................................................................................................... 156

    compile ............................................................................................................................. 156

    Doctrine_Configurable .................................................................................. 156Direct Sub-Classes..................................................................................................... 0Method Summary .................................................................................................. 156Method Details....................................................................................................... 157

    getAttributeValueFromString .......................................................................................... 157setListener........................................................................................................................ 157setParam........................................................................................................................... 158addRecordListener ........................................................................................................... 158getCharset ........................................................................................................................ 158getParams......................................................................................................................... 158getAttributes .................................................................................................................... 158

    getImpl ............................................................................................................................. 158hasImpl ............................................................................................................................. 158getParam .......................................................................................................................... 158getAttributeFromString.................................................................................................... 158getParent.......................................................................................................................... 159setCharset ........................................................................................................................ 159getAttribute...................................................................................................................... 159getCollate ......................................................................................................................... 159setImpl.............................................................................................................................. 159setRecordListener ............................................................................................................ 159setParent .......................................................................................................................... 160getRecordListener............................................................................................................ 160

    getListener ....................................................................................................................... 160setCollate.......................................................................................................................... 160

    Table of Contents xi

    ----------------- Brought to you by

  • 8/7/2019 Doctrine API

    12/629

    addListener....................................................................................................................... 160getParamNamespaces ...................................................................................................... 160setAttribute ...................................................................................................................... 160setEventListener .............................................................................................................. 161

    Doctrine_Connection..................................................................................... 161

    Inheritance................................................................................................................. 0Direct Sub-Classes..................................................................................................... 0Method Summary .................................................................................................. 161Method Details....................................................................................................... 165

    incrementQueryCount...................................................................................................... 165getTables .......................................................................................................................... 165getDriverName................................................................................................................. 165update............................................................................................................................... 165fetchArray......................................................................................................................... 165getDbh.............................................................................................................................. 165getOption.......................................................................................................................... 166exec .................................................................................................................................. 166getName ........................................................................................................................... 166generateUniqueIndexName ............................................................................................. 166getTmpConnection ........................................................................................................... 166beginInternalTransaction................................................................................................. 166getCacheDriver ................................................................................................................ 166clear.................................................................................................................................. 167fetchColumn ..................................................................................................................... 167commit.............................................................................................................................. 167createQuery...................................................................................................................... 167fetchBoth .......................................................................................................................... 167beginTransaction.............................................................................................................. 168delete................................................................................................................................ 168convertBooleans ............................................................................................................... 168select ................................................................................................................................ 168setName ........................................................................................................................... 168errorInfo ........................................................................................................................... 169getAvailableDrivers .......................................................................................................... 169getOptions ........................................................................................................................ 169dropDatabase ................................................................................................................... 169rollback............................................................................................................................. 169serialize ............................................................................................................................ 169rethrowException............................................................................................................. 169lastInsertId ....................................................................................................................... 170

    getTransactionLevel ......................................................................................................... 170__toString ......................................................................................................................... 170query................................................................................................................................. 170fetchRow........................................................................................................................... 170close.................................................................................................................................. 171__get ................................................................................................................................. 171supports............................................................................................................................ 171driverName....................................................................................................................... 171errorCode ......................................................................................................................... 171standaloneQuery .............................................................................................................. 171quote................................................................................................................................. 172modifyLimitSubquery....................................................................................................... 172

    _generateUniqueName..................................................................................................... 172fetchOne ........................................................................................................................... 172getManager ...................................................................................................................... 172

    Table of Contents xii

    ----------------- Brought to you by

  • 8/7/2019 Doctrine API

    13/629

    quoteIdentifier.................................................................................................................. 172getTable............................................................................................................................ 173__construct ....................................................................................................................... 173getAttribute...................................................................................................................... 173addTable........................................................................................................................... 173setDateFormat.................................................................................................................. 173

    count................................................................................................................................. 173execute ............................................................................................................................. 174insert ................................................................................................................................ 174connect ............................................................................................................................. 174generateUniqueRelationForeignKeyName....................................................................... 174modifyLimitQuery............................................................................................................. 174replace.............................................................................................................................. 174quoteMultipleIdentifier .................................................................................................... 175setOption .......................................................................................................................... 175getIterator ........................................................................................................................ 175prepare ............................................................................................................................. 175getQueryCacheDriver....................................................................................................... 176flush.................................................................................................................................. 176fetchAssoc ........................................................................................................................ 176createDatabase................................................................................................................. 176queryOne .......................................................................................................................... 176getResultCacheDriver ...................................................................................................... 176fetchAll ............................................................................................................................. 177create................................................................................................................................ 177unserialize ........................................................................................................................ 177hasTable ........................................................................................................................... 177setAttribute ...................................................................................................................... 177evictTables........................................................................................................................ 177

    Doctrine_Connection_Common..................................................................... 178Inheritance................................................................................................................. 0Direct Sub-Classes..................................................................................................... 0Method Summary .................................................................................................. 178Method Details....................................................................................................... 178

    modifyLimitQuery............................................................................................................. 178

    Doctrine_Connection_Db2............................................................................. 178Inheritance................................................................................................................. 0Method Summary .................................................................................................. 178Method Details....................................................................................................... 179

    modifyLimitQuery............................................................................................................. 179

    Doctrine_Connection_Exception ................................................................... 179Method Summary .................................................................................................. 179Method Details....................................................................................................... 179

    processErrorInfo .............................................................................................................. 179errorMessage ................................................................................................................... 180getPortableCode............................................................................................................... 180getPortableMessage......................................................................................................... 180

    Doctrine_Connection_Firebird ...................................................................... 180Inheritance................................................................................................................. 0Method Summary .................................................................................................. 180

    Method Details....................................................................................................... 181setCharset ........................................................................................................................ 181

    Table of Contents xiii

    ----------------- Brought to you by

  • 8/7/2019 Doctrine API

    14/629

    __construct ....................................................................................................................... 181modifyLimitQuery............................................................................................................. 181

    Doctrine_Connection_Firebird_Exception..................................................... 181Method Summary .................................................................................................. 181Method Details....................................................................................................... 182

    processErrorInfo .............................................................................................................. 182

    Doctrine_Connection_Informix ..................................................................... 182Inheritance................................................................................................................. 0Method Summary .................................................................................................. 182Method Details....................................................................................................... 182

    quoteIdentifier.................................................................................................................. 182__construct ....................................................................................................................... 182

    Doctrine_Connection_Mock .......................................................................... 183Inheritance................................................................................................................. 0Method Summary .................................................................................................. 183

    Method Details....................................................................................................... 183__construct ....................................................................................................................... 183

    Doctrine_Connection_Module ....................................................................... 183Direct Sub-Classes..................................................................................................... 0Method Summary .................................................................................................. 183Method Details....................................................................................................... 184

    getModuleName............................................................................................................... 184__construct ....................................................................................................................... 184getConnection .................................................................................................................. 184

    Doctrine_Connection_Mssql.......................................................................... 184

    Inheritance................................................................................................................. 0Method Summary .................................................................................................. 184Method Details....................................................................................................... 185

    checkSequence................................................................................................................. 185getServerVersion.............................................................................................................. 185quoteIdentifier.................................................................................................................. 185__construct ....................................................................................................................... 185modifyLimitQuery............................................................................................................. 185

    Doctrine_Connection_Mssql_Exception ........................................................ 186Method Summary .................................................................................................. 186Method Details....................................................................................................... 186

    processErrorInfo .............................................................................................................. 186Doctrine_Connection_Mysql.......................................................................... 186

    Inheritance................................................................................................................. 0Method Summary .................................................................................................. 186Method Details....................................................................................................... 187

    getDatabaseName ............................................................................................................ 187setCharset ........................................................................................................................ 187__construct ....................................................................................................................... 187connect ............................................................................................................................. 187replace.............................................................................................................................. 187

    Doctrine_Connection_Mysql_Exception ........................................................ 188Method Summary .................................................................................................. 188Method Details....................................................................................................... 188

    Table of Contents xiv

    ----------------- Brought to you by

  • 8/7/2019 Doctrine API

    15/629

    processErrorInfo .............................................................................................................. 188

    Doctrine_Connection_Oracle......................................................................... 189Inheritance................................................................................................................. 0Method Summary .................................................................................................. 189Method Details....................................................................................................... 189

    modifyLimitSubquery....................................................................................................... 189__construct ....................................................................................................................... 189setDateFormat.................................................................................................................. 189modifyLimitQuery............................................................................................................. 189

    Doctrine_Connection_Oracle_Exception ....................................................... 190Method Summary .................................................................................................. 190Method Details....................................................................................................... 190

    processErrorInfo .............................................................................................................. 190

    Doctrine_Connection_Pgsql .......................................................................... 191Inheritance................................................................................................................. 0

    Method Summary .................................................................................................. 191Method Details....................................................................................................... 191

    convertBooleans ............................................................................................................... 191getServerVersion.............................................................................................................. 191setCharset ........................................................................................................................ 191__construct ....................................................................................................................... 192modifyLimitQuery............................................................................................................. 192

    Doctrine_Connection_Pgsql_Exception ......................................................... 192Method Summary .................................................................................................. 192Method Details....................................................................................................... 193

    processErrorInfo .............................................................................................................. 193

    Doctrine_Connection_Profiler ....................................................................... 193Method Summary .................................................................................................. 193Method Details....................................................................................................... 193

    pop.................................................................................................................................... 193getAll ................................................................................................................................ 194__call................................................................................................................................. 194get..................................................................................................................................... 194__construct ....................................................................................................................... 194lastEvent........................................................................................................................... 194count................................................................................................................................. 194getIterator ........................................................................................................................ 194

    setFilterQueryType........................................................................................................... 194Doctrine_Connection_Sqlite.......................................................................... 195

    Inheritance................................................................................................................. 0Method Summary .................................................................................................. 195Method Details....................................................................................................... 195

    dropDatabase ................................................................................................................... 195__construct ....................................................................................................................... 195connect ............................................................................................................................. 195createDatabase................................................................................................................. 195

    Doctrine_Connection_Sqlite_Exception ........................................................ 196Method Summary .................................................................................................. 196Method Details....................................................................................................... 196

    processErrorInfo .............................................................................................................. 196

    Table of Contents xv

    ----------------- Brought to you by

  • 8/7/2019 Doctrine API

    16/629

    Doctrine_Connection_Statement................................................................... 196Method Summary .................................................................................................. 196Method Details....................................................................................................... 197

    rowCount .......................................................................................................................... 197closeCursor....................................................................................................................... 198

    fetchColumn ..................................................................................................................... 198errorInfo ........................................................................................................................... 198fetchObject ....................................................................................................................... 198getStatement.................................................................................................................... 199setFetchMode.........................................................................