Class: Doctrine_Connection_Mssql
Source Location: /Doctrine/Connection/Mssql.phpClass Doctrine_Connection_Mssql
Class Overview
Doctrine_Connection_Mssql Located in /Doctrine/Connection/Mssql.php [line 34] Doctrine_Object | --Doctrine_Configurable | --Doctrine_Connection | --Doctrine_Connection_MssqlAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties | Inherited Methods | Inherited Constants |
---|---|---|
Inherited From Doctrine_Connection
Inherited From Doctrine_Configurable Inherited From Doctrine_Object |
Inherited From Doctrine_Connection
Inherited From Doctrine_Configurable
Inherited From Doctrine_Object
|
[ Top ]
Property Summary
Method Summary
Doctrine_Connection_Mssql | __construct() | the constructor |
boolean | checkSequence() | Checks if there's a sequence that exists. |
mixed | getServerVersion() | return version information about the server |
string | modifyLimitQuery() | Adds an adapter-specific LIMIT clause to the SELECT statement. |
string | quoteIdentifier() | quoteIdentifier Quote a string so it can be safely used as a table / column name |
[ Top ]
Properties
Methods
Constructor __construct [line 46]
|
the constructor
Parameters:Doctrine_Manager | $manager: | |
PDO | $pdo: | database handle |
$adapter: |
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Connection::__construct()
- the constructor
[ Top ]
checkSequence [line 175]
|
Checks if there's a sequence that exists.
Parameters:string | $seq_name: | The sequence name to verify. |
$seqName: |
API Tags:
Return: | The value if the table exists or not |
Access: | public |
[ Top ]
getServerVersion [line 138]
|
return version information about the server
Parameters:bool | $native: | determines if the raw version string should be returned |
API Tags:
Return: | array/string with version information or MDB2 error object |
Access: | public |
[ Top ]
modifyLimitQuery [line 97]
|
Adds an adapter-specific LIMIT clause to the SELECT statement.
[ borrowed from Zend Framework ]
Parameters:string | $query: | |
mixed | $limit: | |
mixed | $offset: | |
$isManip: |
API Tags:
Access: | public |
Information Tags:
Link: | http://lists.bestpractical.com/pipermail/rt-devel/2005-June/007339.html |
[ Top ]
quoteIdentifier [line 80]
|
quoteIdentifier Quote a string so it can be safely used as a table / column name
Quoting style depends on which database driver is being used.
Parameters:string | $identifier: | identifier name to be quoted |
bool | $checkOption: | check the 'quote_identifier' option |
API Tags:
Return: | quoted identifier string |
Access: | public |
Redefinition of:
- Doctrine_Connection::quoteIdentifier()
- Quote a string so it can be safely used as a table or column name
[ Top ]