141 lines
8.1 KiB
HTML
141 lines
8.1 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||
|
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
|
||
|
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
||
|
<meta name="when" content="Wed, 14 Apr 2010 15:12:04 +0000">
|
||
|
|
||
|
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
|
||
|
<link rel="start" href="../../overview-summary.html">
|
||
|
|
||
|
<title>NativeQuery (Doctrine)</title>
|
||
|
|
||
|
</head>
|
||
|
<body id="definition" onload="parent.document.title=document.title;">
|
||
|
|
||
|
<div class="header">
|
||
|
<h1>Doctrine</h1>
|
||
|
<ul>
|
||
|
<li><a href="../../overview-summary.html">Overview</a></li>
|
||
|
<li><a href="../../doctrine/orm/package-summary.html">Namespace</a></li>
|
||
|
<li class="active">Class</li>
|
||
|
<li><a href="../../doctrine/orm/package-tree.html">Tree</a></li>
|
||
|
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
||
|
<li><a href="../../index-all.html">Index</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<div class="small_links">
|
||
|
<a href="../../index.html" target="_top">Frames</a>
|
||
|
<a href="../../doctrine/orm/nativequery.html" target="_top">No frames</a>
|
||
|
</div>
|
||
|
<div class="small_links">
|
||
|
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
||
|
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
||
|
</div>
|
||
|
<hr>
|
||
|
|
||
|
<div class="qualifiedName">Doctrine\ORM\NativeQuery</div>
|
||
|
<div class="location">/Doctrine/ORM/NativeQuery.php at line 28</div>
|
||
|
|
||
|
<h1>Class NativeQuery</h1>
|
||
|
|
||
|
<pre class="tree">Class:NativeQuery - Superclass: AbstractQuery
|
||
|
<a href="../../doctrine/orm/abstractquery.html">AbstractQuery</a><br> ⌊ <strong>NativeQuery</strong><br /></pre>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<p class="signature">public final class <strong>NativeQuery</strong><br>extends <a href="../../doctrine/orm/abstractquery.html">AbstractQuery</a>
|
||
|
|
||
|
</p>
|
||
|
|
||
|
<div class="comment" id="overview_description"><p>Represents a native SQL query.</p></div>
|
||
|
|
||
|
<dl>
|
||
|
<dt>Author:</dt>
|
||
|
<dd>Roman Borschel <roman@code-factory.org></dd>
|
||
|
<dt>Since:</dt>
|
||
|
<dd>2.0</dd>
|
||
|
<dt>License:</dt>
|
||
|
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
|
||
|
<dt>See Also:</dt>
|
||
|
<dd><code>www.doctrine-project.org</code></dd>
|
||
|
<dt>Version:</dt>
|
||
|
<dd>$Revision$</dd>
|
||
|
</dl>
|
||
|
<hr>
|
||
|
|
||
|
<table class="inherit">
|
||
|
<tr><th colspan="2">Fields inherited from Doctrine\ORM\AbstractQuery</th></tr>
|
||
|
<tr><td><a href="../../doctrine/orm/abstractquery.html#HYDRATE_ARRAY">HYDRATE_ARRAY</a>, <a href="../../doctrine/orm/abstractquery.html#HYDRATE_OBJECT">HYDRATE_OBJECT</a>, <a href="../../doctrine/orm/abstractquery.html#HYDRATE_SCALAR">HYDRATE_SCALAR</a>, <a href="../../doctrine/orm/abstractquery.html#HYDRATE_SINGLE_SCALAR">HYDRATE_SINGLE_SCALAR</a>, <a href="../../doctrine/orm/abstractquery.html#_em">_em</a>, <a href="../../doctrine/orm/abstractquery.html#_expireResultCache">_expireResultCache</a>, <a href="../../doctrine/orm/abstractquery.html#_hints">_hints</a>, <a href="../../doctrine/orm/abstractquery.html#_hydrationMode">_hydrationMode</a>, <a href="../../doctrine/orm/abstractquery.html#_paramTypes">_paramTypes</a>, <a href="../../doctrine/orm/abstractquery.html#_params">_params</a>, <a href="../../doctrine/orm/abstractquery.html#_resultCacheDriver">_resultCacheDriver</a>, <a href="../../doctrine/orm/abstractquery.html#_resultCacheId">_resultCacheId</a>, <a href="../../doctrine/orm/abstractquery.html#_resultCacheTTL">_resultCacheTTL</a>, <a href="../../doctrine/orm/abstractquery.html#_resultSetMapping">_resultSetMapping</a>, <a href="../../doctrine/orm/abstractquery.html#_useResultCache">_useResultCache</a></td></tr></table>
|
||
|
|
||
|
<table id="summary_method">
|
||
|
<tr><th colspan="2">Method Summary</th></tr>
|
||
|
<tr>
|
||
|
<td class="type"> mixed</td>
|
||
|
<td class="description"><p class="name"><a href="#getSQL()">getSQL</a>()</p><p class="description">Gets the SQL query.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> <a href="../../doctrine/orm/nativequery.html">NativeQuery</a></td>
|
||
|
<td class="description"><p class="name"><a href="#setSQL()">setSQL</a>(string sql)</p><p class="description">Sets the SQL of the query.</p></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table class="inherit">
|
||
|
<tr><th colspan="2">Methods inherited from Doctrine\ORM\AbstractQuery</th></tr>
|
||
|
<tr><td><a href="../../doctrine/orm/abstractquery.html#execute()">execute</a>, <a href="../../doctrine/orm/abstractquery.html#expireResultCache()">expireResultCache</a>, <a href="../../doctrine/orm/abstractquery.html#free()">free</a>, <a href="../../doctrine/orm/abstractquery.html#getArrayResult()">getArrayResult</a>, <a href="../../doctrine/orm/abstractquery.html#getEntityManager()">getEntityManager</a>, <a href="../../doctrine/orm/abstractquery.html#getExpireResultCache()">getExpireResultCache</a>, <a href="../../doctrine/orm/abstractquery.html#getHint()">getHint</a>, <a href="../../doctrine/orm/abstractquery.html#getHydrationMode()">getHydrationMode</a>, <a href="../../doctrine/orm/abstractquery.html#getParameter()">getParameter</a>, <a href="../../doctrine/orm/abstractquery.html#getParameters()">getParameters</a>, <a href="../../doctrine/orm/abstractquery.html#getResult()">getResult</a>, <a href="../../doctrine/orm/abstractquery.html#getResultCacheDriver()">getResultCacheDriver</a>, <a href="../../doctrine/orm/abstractquery.html#getResultCacheLifetime()">getResultCacheLifetime</a>, <a href="../../doctrine/orm/abstractquery.html#getSQL()">getSQL</a>, <a href="../../doctrine/orm/abstractquery.html#getScalarResult()">getScalarResult</a>, <a href="../../doctrine/orm/abstractquery.html#getSingleResult()">getSingleResult</a>, <a href="../../doctrine/orm/abstractquery.html#getSingleScalarResult()">getSingleScalarResult</a>, <a href="../../doctrine/orm/abstractquery.html#iterate()">iterate</a>, <a href="../../doctrine/orm/abstractquery.html#setHint()">setHint</a>, <a href="../../doctrine/orm/abstractquery.html#setHydrationMode()">setHydrationMode</a>, <a href="../../doctrine/orm/abstractquery.html#setParameter()">setParameter</a>, <a href="../../doctrine/orm/abstractquery.html#setParameters()">setParameters</a>, <a href="../../doctrine/orm/abstractquery.html#setResultCacheDriver()">setResultCacheDriver</a>, <a href="../../doctrine/orm/abstractquery.html#setResultCacheId()">setResultCacheId</a>, <a href="../../doctrine/orm/abstractquery.html#setResultCacheLifetime()">setResultCacheLifetime</a>, <a href="../../doctrine/orm/abstractquery.html#setResultSetMapping()">setResultSetMapping</a>, <a href="../../doctrine/orm/abstractquery.html#useResultCache()">useResultCache</a></td></tr></table>
|
||
|
|
||
|
<h2 id="detail_method">Method Detail</h2>
|
||
|
<div class="location">/Doctrine/ORM/NativeQuery.php at line 50</div>
|
||
|
<h3 id="getSQL()">getSQL</h3>
|
||
|
<code class="signature">public mixed <strong>getSQL</strong>()</code>
|
||
|
<div class="details">
|
||
|
<p>Gets the SQL query.</p><dl>
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>The built SQL query or an array of all SQL queries.</dd>
|
||
|
<dt>Override.</dt>
|
||
|
</dl>
|
||
|
</div>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<div class="location">/Doctrine/ORM/NativeQuery.php at line 38</div>
|
||
|
<h3 id="setSQL()">setSQL</h3>
|
||
|
<code class="signature">public <a href="../../doctrine/orm/nativequery.html">NativeQuery</a> <strong>setSQL</strong>(string sql)</code>
|
||
|
<div class="details">
|
||
|
<p>Sets the SQL of the query.</p><dl>
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>This query instance.</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<div class="header">
|
||
|
<h1>Doctrine</h1>
|
||
|
<ul>
|
||
|
<li><a href="../../overview-summary.html">Overview</a></li>
|
||
|
<li><a href="../../doctrine/orm/package-summary.html">Namespace</a></li>
|
||
|
<li class="active">Class</li>
|
||
|
<li><a href="../../doctrine/orm/package-tree.html">Tree</a></li>
|
||
|
<li><a href="../../deprecated-list.html">Deprecated</a></li>
|
||
|
<li><a href="../../index-all.html">Index</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<div class="small_links">
|
||
|
<a href="../../index.html" target="_top">Frames</a>
|
||
|
<a href="../../doctrine/orm/nativequery.html" target="_top">No frames</a>
|
||
|
</div>
|
||
|
<div class="small_links">
|
||
|
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
||
|
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
||
|
</div>
|
||
|
<hr>
|
||
|
|
||
|
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|