<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Returns the last error of the broker</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.enchant-broker-free.html">enchant_broker_free</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.enchant-broker-init.html">enchant_broker_init</a></div> <div class="up"><a href="ref.enchant.html">Enchant Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.enchant-broker-get-error" class="refentry"> <div class="refnamediv"> <h1 class="refname">enchant_broker_get_error</h1> <p class="verinfo">(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )</p><p class="refpurpose"><span class="refname">enchant_broker_get_error</span> — <span class="dc-title">Returns the last error of the broker</span></p> </div> <div class="refsect1 description" id="refsect1-function.enchant-broker-get-error-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">string</span> <span class="methodname"><strong>enchant_broker_get_error</strong></span> ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$broker</code></span> )</div> <p class="para rdfs-comment"> Returns the last error which occurred in this broker. </p> </div> <div class="refsect1 parameters" id="refsect1-function.enchant-broker-get-error-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">broker</code></em></span> <dd> <p class="para"> Broker resource. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.enchant-broker-get-error-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Return the msg string if an error was found or <strong><code>FALSE</code></strong> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.enchant-broker-free.html">enchant_broker_free</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.enchant-broker-init.html">enchant_broker_init</a></div> <div class="up"><a href="ref.enchant.html">Enchant Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>