MDB2
[ class tree: MDB2 ] [ index: MDB2 ] [ all elements ]

Class: MDB2_Driver_querysim

Source Location: /MDB2_Driver_querysim-0.1.1/MDB2/Driver/querysim.php

Class Overview

MDB2_Driver_Common
   |
   --MDB2_Driver_querysim

MDB2 QuerySim driver


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 216]
MDB2 QuerySim driver


[ Top ]


Class Variables

$escape_quotes =  "\\"

[line 219]


Type:   mixed


[ Top ]



Method Detail

__construct (Constructor)   [line 227]

MDB2_Driver_querysim __construct( )

Constructor

[ Top ]

connect   [line 265]

mixed connect( )

Open a file or simulate a successful database connect
  • Return: MDB2_OK string on success, a MDB2 error object on failure
  • Access: public

[ Top ]

disconnect   [line 316]

mixed disconnect( )

Log out and disconnect from the database.
  • Return: true on success, false if not connected and error object on error
  • Access: public

[ Top ]

_buildResult   [line 406]

multi-dimensional _buildResult( string $query)

Convert QuerySim text into an array
  • Return: array containing the column names and data from the QuerySim
  • Access: protected

Parameters:

string   $query   —  Text of simulated query

[ Top ]

_doQuery   [line 341]

result _doQuery( string $query, [boolean $isManip = false], [resource $connection = null], [string $database_name = null])

Execute a query
  • Return: or error object
  • Access: protected

Parameters:

string   $query   —  query
boolean   $isManip   —  if the query is a manipulation query
resource   $connection   — 
string   $database_name   — 

[ Top ]

_parseOnDelim   [line 484]

array _parseOnDelim( string $thisLine, string $delim)

Split QuerySim string into an array on a delimiter
  • Return: containing parsed string
  • Access: protected

Parameters:

string   $thisLine   —  Text of simulated query
string   $delim   —  The delimiter to split on

[ Top ]

_readFile   [line 376]

string _readFile( string 0)

Read an external file
  • Return: the contents of a file
  • Access: protected

Parameters:

string   0   —  filepath/filename

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:13:18 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.