| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
This is the Oracle database abstraction layer. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| File Size: | 1574 lines (41 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
ORAResult:: (8 methods):
array_unique_md()
__construct()
free()
seek()
numRows()
numFields()
fetchObject()
fetchRow()
ORAField:: (9 methods):
__construct()
name()
tableName()
defaultValue()
maxLength()
isNullable()
isKey()
isMultipleKey()
type()
DatabaseOracle:: (79 methods):
__construct()
__destruct()
getType()
cascadingDeletes()
cleanupTriggers()
strictIPs()
realTimestamps()
implicitGroupby()
implicitOrderby()
searchableIPs()
open()
closeConnection()
execFlags()
doQuery()
queryIgnore()
freeResult()
fetchObject()
fetchRow()
numRows()
numFields()
fieldName()
insertId()
dataSeek()
lastError()
lastErrno()
affectedRows()
indexInfo()
indexUnique()
insert()
fieldBindStatement()
insertOneRow()
insertSelect()
upsert()
tableName()
tableNameInternal()
nextSequenceValue()
getSequenceData()
textFieldSize()
limitResult()
encodeBlob()
decodeBlob()
unionQueries()
wasDeadlock()
duplicateTableStructure()
listTables()
dropTable()
timestamp()
aggregateValue()
reportQueryError()
getSoftwareLink()
getServerVersion()
indexExists()
tableExists()
fieldInfoMulti()
fieldInfo()
doBegin()
doCommit()
doRollback()
sourceStream()
selectDB()
strencode()
addQuotes()
addIdentifierQuotes()
removeIdentifierQuotes()
isQuotedIdentifier()
wrapFieldForWhere()
wrapConditionsForWhere()
selectRow()
makeSelectOptions()
delete()
update()
bitNot()
bitAnd()
bitOr()
getDBname()
getServer()
buildGroupConcatField()
getSearchEngine()
getInfinity()
| array_unique_md( $array_in ) X-Ref |
| No description |
| __construct( &$db, $stmt, $unique = false ) X-Ref |
param: DatabaseBase $db param: resource $stmt A valid OCI statement identifier param: bool $unique |
| free() X-Ref |
| No description |
| seek( $row ) X-Ref |
| No description |
| numRows() X-Ref |
| No description |
| numFields() X-Ref |
| No description |
| fetchObject() X-Ref |
| No description |
| fetchRow() X-Ref |
| No description |
| __construct( $info ) X-Ref |
| No description |
| name() X-Ref |
| No description |
| tableName() X-Ref |
| No description |
| defaultValue() X-Ref |
| No description |
| maxLength() X-Ref |
| No description |
| isNullable() X-Ref |
| No description |
| isKey() X-Ref |
| No description |
| isMultipleKey() X-Ref |
| No description |
| type() X-Ref |
| No description |
Class: DatabaseOracle - X-Ref
| __construct( $p = null ) X-Ref |
| No description |
| __destruct() X-Ref |
| No description |
| getType() X-Ref |
| No description |
| cascadingDeletes() X-Ref |
| No description |
| cleanupTriggers() X-Ref |
| No description |
| strictIPs() X-Ref |
| No description |
| realTimestamps() X-Ref |
| No description |
| implicitGroupby() X-Ref |
| No description |
| implicitOrderby() X-Ref |
| No description |
| searchableIPs() X-Ref |
| No description |
| open( $server, $user, $password, $dbName ) X-Ref |
| Usually aborts on failure param: string $server param: string $user param: string $password param: string $dbName return: DatabaseBase|null |
| closeConnection() X-Ref |
| Closes a database connection, if it is open Returns success, true if already closed return: bool |
| execFlags() X-Ref |
| No description |
| doQuery( $sql ) X-Ref |
| No description |
| queryIgnore( $sql, $fname = '' ) X-Ref |
| No description |
| freeResult( $res ) X-Ref |
| Frees resources associated with the LOB descriptor param: ResultWrapper|resource $res |
| fetchObject( $res ) X-Ref |
param: ResultWrapper|stdClass $res return: mixed |
| fetchRow( $res ) X-Ref |
| No description |
| numRows( $res ) X-Ref |
| No description |
| numFields( $res ) X-Ref |
| No description |
| fieldName( $stmt, $n ) X-Ref |
| No description |
| insertId() X-Ref |
| This must be called after nextSequenceVal return: null|int |
| dataSeek( $res, $row ) X-Ref |
param: mixed $res param: int $row |
| lastError() X-Ref |
| No description |
| lastErrno() X-Ref |
| No description |
| affectedRows() X-Ref |
| No description |
| indexInfo( $table, $index, $fname = __METHOD__ ) X-Ref |
| Returns information about an index If errors are explicitly ignored, returns NULL on failure param: string $table param: string $index param: string $fname return: bool |
| indexUnique( $table, $index, $fname = __METHOD__ ) X-Ref |
| No description |
| insert( $table, $a, $fname = __METHOD__, $options = array() X-Ref |
| No description |
| fieldBindStatement( $table, $col, &$val, $includeCol = false ) X-Ref |
| No description |
| insertOneRow( $table, $row, $fname ) X-Ref |
param: string $table param: array $row param: string $fname return: bool |
| insertSelect( $destTable, $srcTable, $varMap, $conds, $fname = __METHOD__,$insertOptions = array() X-Ref |
| No description |
| upsert( $table, array $rows, array $uniqueIndexes, array $set,$fname = __METHOD__) X-Ref |
| No description |
| tableName( $name, $format = 'quoted' ) X-Ref |
| No description |
| tableNameInternal( $name ) X-Ref |
| No description |
| nextSequenceValue( $seqName ) X-Ref |
| Return the next in a sequence, save the value for retrieval via insertId() param: string $seqName return: null|int |
| getSequenceData( $table ) X-Ref |
| Return sequence_name if table has a sequence param: string $table return: bool |
| textFieldSize( $table, $field ) X-Ref |
| Returns the size of a text field, or -1 for "unlimited" param: string $table param: string $field return: mixed |
| limitResult( $sql, $limit, $offset = false ) X-Ref |
| No description |
| encodeBlob( $b ) X-Ref |
| No description |
| decodeBlob( $b ) X-Ref |
| No description |
| unionQueries( $sqls, $all ) X-Ref |
| No description |
| wasDeadlock() X-Ref |
| No description |
| duplicateTableStructure( $oldName, $newName, $temporary = false,$fname = __METHOD__) X-Ref |
| No description |
| listTables( $prefix = null, $fname = __METHOD__ ) X-Ref |
| No description |
| dropTable( $tableName, $fName = __METHOD__ ) X-Ref |
| No description |
| timestamp( $ts = 0 ) X-Ref |
| No description |
| aggregateValue( $valuedata, $valuename = 'value' ) X-Ref |
| Return aggregated value function call param: array $valuedata param: string $valuename return: mixed |
| reportQueryError( $error, $errno, $sql, $fname, $tempIgnore = false ) X-Ref |
| No description |
| getSoftwareLink() X-Ref |
return: string Wikitext of a link to the server software's web site |
| getServerVersion() X-Ref |
return: string Version information from the database |
| indexExists( $table, $index, $fname = __METHOD__ ) X-Ref |
| Query whether a given index exists param: string $table param: string $index param: string $fname return: bool |
| tableExists( $table, $fname = __METHOD__ ) X-Ref |
| Query whether a given table exists (in the given schema, or the default mw one if not given) param: string $table param: string $fname return: bool |
| fieldInfoMulti( $table, $field ) X-Ref |
| Function translates mysql_fetch_field() functionality on ORACLE. Caching is present for reducing query time. For internal calls. Use fieldInfo for normal usage. Returns false if the field doesn't exist param: array|string $table param: string $field return: ORAField|ORAResult |
| fieldInfo( $table, $field ) X-Ref |
param: string $table param: string $field return: ORAField |
| doBegin( $fname = __METHOD__ ) X-Ref |
| No description |
| doCommit( $fname = __METHOD__ ) X-Ref |
| No description |
| doRollback( $fname = __METHOD__ ) X-Ref |
| No description |
| sourceStream( $fp, $lineCallback = false, $resultCallback = false,$fname = __METHOD__, $inputCallback = false ) X-Ref |
| defines must comply with ^define\s*([^\s=]*)\s*=\s?'\{\$([^\}]*)\}'; param: resource $fp param: bool|string $lineCallback param: bool|callable $resultCallback param: string $fname param: bool|callable $inputCallback return: bool|string |
| selectDB( $db ) X-Ref |
| No description |
| strencode( $s ) X-Ref |
| No description |
| addQuotes( $s ) X-Ref |
| No description |
| addIdentifierQuotes( $s ) X-Ref |
| No description |
| removeIdentifierQuotes( $s ) X-Ref |
| No description |
| isQuotedIdentifier( $s ) X-Ref |
| No description |
| wrapFieldForWhere( $table, &$col, &$val ) X-Ref |
| No description |
| wrapConditionsForWhere( $table, $conds, $parentCol = null ) X-Ref |
| No description |
| selectRow( $table, $vars, $conds, $fname = __METHOD__,$options = array() X-Ref |
| No description |
| makeSelectOptions( $options ) X-Ref |
| Returns an optional USE INDEX clause to go after the table, and a string to go at the end of the query param: array $options An associative array of options to be turned into return: array |
| delete( $table, $conds, $fname = __METHOD__ ) X-Ref |
| No description |
| update( $table, $values, $conds, $fname = __METHOD__, $options = array() X-Ref |
param: string $table param: array $values param: array $conds param: string $fname param: array $options return: bool |
| bitNot( $field ) X-Ref |
| No description |
| bitAnd( $fieldLeft, $fieldRight ) X-Ref |
| No description |
| bitOr( $fieldLeft, $fieldRight ) X-Ref |
| No description |
| getDBname() X-Ref |
| No description |
| getServer() X-Ref |
| No description |
| buildGroupConcatField($delim, $table, $field, $conds = '', $join_conds = array() X-Ref |
| No description |
| getSearchEngine() X-Ref |
| No description |
| getInfinity() X-Ref |
| No description |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |