Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating phpDoc with latest code changes

  • Loading branch information...
commit a66e4a5f11110e943bb5ca22241a560df5633ca1 1 parent 6fc690f
AlekseyKorzun authored
View
70 Documentation/classes.svg
@@ -1,57 +1,55 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
- "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
- <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
-]>
-<!-- Generated by Graphviz version 2.12 (Wed Nov 23 19:29:33 UTC 2011)
- For user: (maintenr) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<!-- Generated by graphviz version 2.26.3 (20100126.1600)
+ -->
<!-- Title: G Pages: 1 -->
-<svg width="3.60in" height="2.95in"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-<g id="graph0" class="graph" transform="scale(1.33333 1.33333) rotate(0) translate(4 209)">
+<svg width="300pt" height="206pt"
+ viewBox="0.00 0.00 300.00 206.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 202)">
<title>G</title>
-<polygon style="fill:white;stroke:white;" points="-4,4 -4,-209 256,-209 256,4 -4,4"/>
-<g id="cluster2" class="cluster"><title>cluster_Captcha</title>
-<polyline style="fill:none;stroke:gray;" points="140,-16 12,-16 "/>
-<path style="fill:none;stroke:gray;" d="M12,-16C6,-16 5.34125e-315,-10 5.34125e-315,-4"/>
-<polyline style="fill:none;stroke:gray;" points="5.34125e-315,-4 5.34125e-315,-12 "/>
-<path style="fill:none;stroke:gray;" d="M5.34125e-315,-12C5.34125e-315,-6 6,-7.75834e-308 12,-7.75834e-308"/>
-<polyline style="fill:none;stroke:gray;" points="12,-7.75834e-308 140,-7.75834e-308 "/>
-<path style="fill:none;stroke:gray;" d="M140,-7.75834e-308C146,-7.75834e-308 152,-6 152,-12"/>
-<polyline style="fill:none;stroke:gray;" points="152,-12 152,-4 "/>
-<path style="fill:none;stroke:gray;" d="M152,-4C152,-10 146,-16 140,-16"/>
-<text text-anchor="middle" x="198" y="-183" style="font-family:Nimbus Roman No9 L;font-weight:regular;font-size:8.91pt;fill:gray;">Captcha</text>
+<polygon fill="white" stroke="white" points="-4,5 -4,-202 297,-202 297,5 -4,5"/>
+<g id="graph2" class="cluster"><title>cluster_Captcha</title>
+<polyline fill="none" stroke="gray" points="202,-8 272,-8 "/>
+<path fill="none" stroke="gray" d="M272,-8C278,-8 284,-14 284,-20"/>
+<polyline fill="none" stroke="gray" points="284,-20 284,-178 "/>
+<path fill="none" stroke="gray" d="M284,-178C284,-184 278,-190 272,-190"/>
+<polyline fill="none" stroke="gray" points="272,-190 202,-190 "/>
+<path fill="none" stroke="gray" d="M202,-190C196,-190 190,-184 190,-178"/>
+<polyline fill="none" stroke="gray" points="190,-178 190,-20 "/>
+<path fill="none" stroke="gray" d="M190,-20C190,-14 196,-8 202,-8"/>
+<text text-anchor="middle" x="237" y="-176.1" font-family="Times Roman,serif" font-size="11.00" fill="gray">Captcha</text>
</g>
<!-- \\Captcha\\Captcha -->
<g id="node2" class="node"><title>\\Captcha\\Captcha</title>
<a xlink:href="Captcha.html" xlink:title="Captcha" target="_parent">
-<polygon style="fill:none;stroke:black;" points="229.096,-168 166.904,-168 166.904,-132 229.096,-132 229.096,-168"/>
-<text text-anchor="middle" x="198" y="-146" style="font-family:Nimbus Mono L;font-weight:regular;font-size:8.91pt;">Captcha</text>
-</a>
-</g>
-<!-- \\Captcha\\Response -->
-<g id="node3" class="node"><title>\\Captcha\\Response</title>
-<a xlink:href="Response.html" xlink:title="Response" target="_parent">
-<polygon style="fill:none;stroke:black;" points="231.897,-114 164.103,-114 164.103,-78 231.897,-78 231.897,-114"/>
-<text text-anchor="middle" x="198" y="-92" style="font-family:Nimbus Mono L;font-weight:regular;font-size:8.91pt;">Response</text>
+<polygon fill="none" stroke="black" points="269,-160 205,-160 205,-124 269,-124 269,-160"/>
+<text text-anchor="middle" x="237" y="-139.1" font-family="Courier,monospace" font-size="11.00">Captcha</text>
</a>
</g>
<!-- \\Captcha\\Exception -->
-<g id="node4" class="node"><title>\\Captcha\\Exception</title>
+<g id="node3" class="node"><title>\\Captcha\\Exception</title>
<a xlink:href="Exception.html" xlink:title="Exception" target="_parent">
-<polygon style="fill:none;stroke:black;" points="235.192,-60 160.808,-60 160.808,-24 235.192,-24 235.192,-60"/>
-<text text-anchor="middle" x="198" y="-38" style="font-family:Nimbus Mono L;font-weight:regular;font-size:8.91pt;">Exception</text>
+<polygon fill="none" stroke="black" points="275,-106 199,-106 199,-70 275,-70 275,-106"/>
+<text text-anchor="middle" x="237" y="-85.1" font-family="Courier,monospace" font-size="11.00">Exception</text>
</a>
</g>
<!-- \\Exception -->
<g id="node6" class="node"><title>\\Exception</title>
-<ellipse style="fill:none;stroke:black;" cx="44" cy="-42" rx="42.9635" ry="18"/>
-<text text-anchor="middle" x="44" y="-36" style="font-family:Nimbus Roman No9 L;font-weight:regular;font-size:11.34pt;fill:gray;">\Exception</text>
+<ellipse fill="none" stroke="black" cx="63" cy="-88" rx="62.9325" ry="18.3848"/>
+<text text-anchor="middle" x="63" y="-84.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\Exception</text>
</g>
<!-- \\Captcha\\Exception&#45;&gt;\\Exception -->
<g id="edge3" class="edge"><title>\\Captcha\\Exception&#45;&gt;\\Exception</title>
-<path style="fill:none;stroke:black;" d="M160,-42C141,-42 119,-42 98,-42"/>
-<polygon style="fill:none;stroke:black;" points="98,-38.5001 88,-42 98,-45.5001 98,-38.5001"/>
+<path fill="none" stroke="black" d="M198.384,-88C180.06,-88 157.538,-88 136.16,-88"/>
+<polygon fill="none" stroke="black" points="136.11,-84.5001 126.11,-88 136.11,-91.5001 136.11,-84.5001"/>
+</g>
+<!-- \\Captcha\\Response -->
+<g id="node4" class="node"><title>\\Captcha\\Response</title>
+<a xlink:href="Response.html" xlink:title="Response" target="_parent">
+<polygon fill="none" stroke="black" points="272,-52 202,-52 202,-16 272,-16 272,-52"/>
+<text text-anchor="middle" x="237" y="-31.1" font-family="Courier,monospace" font-size="11.00">Response</text>
+</a>
</g>
</g>
</svg>
View
171 Documentation/classes/Captcha.Captcha.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
+<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
@@ -54,36 +54,50 @@
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
-<i class="icon-custom icon-method"></i> Methods</li>
-<li class="method public "><a href="#check" title="check :: Checks and validates user's response"><span class="description">Checks and validates user's response</span><pre>check()</pre></a></li>
-<li class="method public "><a href="#getError" title="getError :: Retrieve currently set error"><span class="description">Retrieve currently set error</span><pre>getError()</pre></a></li>
-<li class="method public "><a href="#getPrivateKey" title="getPrivateKey :: Retrieve currently set private key"><span class="description">Retrieve currently set private key</span><pre>getPrivateKey()</pre></a></li>
-<li class="method public "><a href="#getPublicKey" title="getPublicKey :: Retrieve currently set public key"><span class="description">Retrieve currently set public key</span><pre>getPublicKey()</pre></a></li>
-<li class="method public "><a href="#html" title="html :: Generates reCaptcha form to output to your end user"><span class="description">Generates reCaptcha form to output to your end user</span><pre>html()</pre></a></li>
-<li class="method public "><a href="#isSsl" title="isSsl :: Check if SSL is currently enabled"><span class="description">Check if SSL is currently enabled</span><pre>isSsl()</pre></a></li>
-<li class="method public "><a href="#setError" title="setError :: Set public key"><span class="description">Set public key</span><pre>setError()</pre></a></li>
-<li class="method public "><a href="#setPrivateKey" title="setPrivateKey :: Set private key"><span class="description">Set private key</span><pre>setPrivateKey()</pre></a></li>
-<li class="method public "><a href="#setPublicKey" title="setPublicKey :: Set public key"><span class="description">Set public key</span><pre>setPublicKey()</pre></a></li>
-<li class="method public "><a href="#setSsl" title="setSsl :: Set SSL flag"><span class="description">Set SSL flag</span><pre>setSsl()</pre></a></li>
-<li class="nav-header protected">» Protected</li>
-<li class="method protected "><a href="#encode" title="encode :: Construct encoded URI string from an array"><span class="description">Construct encoded URI string from an array</span><pre>encode()</pre></a></li>
-<li class="method protected "><a href="#process" title="process :: Make a signed validation request to reCaptcha's servers"><span class="description">Make a signed validation request to reCaptcha's servers</span><pre>process()</pre></a></li>
+<i class="icon-custom icon-method"></i> Methods
+ <ul>
+<li class="method public "><a href="#method_check" title="check :: Checks and validates user's response"><span class="description">Checks and validates user's response</span><pre>check()</pre></a></li>
+<li class="method public "><a href="#method_getError" title="getError :: Retrieve currently set error"><span class="description">Retrieve currently set error</span><pre>getError()</pre></a></li>
+<li class="method public "><a href="#method_getPrivateKey" title="getPrivateKey :: Retrieve currently set private key"><span class="description">Retrieve currently set private key</span><pre>getPrivateKey()</pre></a></li>
+<li class="method public "><a href="#method_getPublicKey" title="getPublicKey :: Retrieve currently set public key"><span class="description">Retrieve currently set public key</span><pre>getPublicKey()</pre></a></li>
+<li class="method public "><a href="#method_html" title="html :: Generates reCaptcha form to output to your end user"><span class="description">Generates reCaptcha form to output to your end user</span><pre>html()</pre></a></li>
+<li class="method public "><a href="#method_isSsl" title="isSsl :: Check if SSL is currently enabled"><span class="description">Check if SSL is currently enabled</span><pre>isSsl()</pre></a></li>
+<li class="method public "><a href="#method_setError" title="setError :: Set public key"><span class="description">Set public key</span><pre>setError()</pre></a></li>
+<li class="method public "><a href="#method_setPrivateKey" title="setPrivateKey :: Set private key"><span class="description">Set private key</span><pre>setPrivateKey()</pre></a></li>
+<li class="method public "><a href="#method_setPublicKey" title="setPublicKey :: Set public key"><span class="description">Set public key</span><pre>setPublicKey()</pre></a></li>
+<li class="method public "><a href="#method_setSsl" title="setSsl :: Set SSL flag"><span class="description">Set SSL flag</span><pre>setSsl()</pre></a></li>
+</ul>
+</li>
+<li class="nav-header protected">» Protected
+ <ul>
+<li class="method protected "><a href="#method_encode" title="encode :: Construct encoded URI string from an array"><span class="description">Construct encoded URI string from an array</span><pre>encode()</pre></a></li>
+<li class="method protected "><a href="#method_process" title="process :: Make a signed validation request to reCaptcha's servers"><span class="description">Make a signed validation request to reCaptcha's servers</span><pre>process()</pre></a></li>
+</ul>
+</li>
<li class="nav-header">
-<i class="icon-custom icon-property"></i> Properties</li>
-<li class="nav-header protected">» Protected</li>
-<li class="property protected "><a href="#%24error" title="$error :: Custom error message to return"><span class="description">Custom error message to return</span><pre>$error</pre></a></li>
-<li class="property protected "><a href="#%24isSsl" title="$isSsl :: Flag to use SSL for our request(s)"><span class="description">Flag to use SSL for our request(s)</span><pre>$isSsl</pre></a></li>
-<li class="property protected "><a href="#%24privateKey" title="$privateKey :: Private key"><span class="description">Private key</span><pre>$privateKey</pre></a></li>
-<li class="property protected "><a href="#%24publicKey" title="$publicKey :: Public key"><span class="description">Public key</span><pre>$publicKey</pre></a></li>
+<i class="icon-custom icon-property"></i> Properties
+ <ul></ul>
+</li>
+<li class="nav-header protected">» Protected
+ <ul>
+<li class="property protected "><a href="#property_error" title="$error :: Custom error message to return"><span class="description"></span><pre>$error</pre></a></li>
+<li class="property protected "><a href="#property_isSsl" title="$isSsl :: Flag to use SSL for our request(s)"><span class="description"></span><pre>$isSsl</pre></a></li>
+<li class="property protected "><a href="#property_privateKey" title="$privateKey :: Private key"><span class="description"></span><pre>$privateKey</pre></a></li>
+<li class="property protected "><a href="#property_publicKey" title="$publicKey :: Public key"><span class="description"></span><pre>$publicKey</pre></a></li>
+</ul>
+</li>
<li class="nav-header">
-<i class="icon-custom icon-constant"></i> Constants</li>
-<li class="constant "><a href="#SERVER" title="SERVER :: reCaptcha's API server"><span class="description">reCaptcha's API server</span><pre>SERVER</pre></a></li>
-<li class="constant "><a href="#SERVER_SECURE" title="SERVER_SECURE :: reCaptcha's secure API server"><span class="description">reCaptcha's secure API server</span><pre>SERVER_SECURE</pre></a></li>
-<li class="constant "><a href="#VERIFY_SERVER" title="VERIFY_SERVER :: reCaptcha's verify server"><span class="description">reCaptcha's verify server</span><pre>VERIFY_SERVER</pre></a></li>
+<i class="icon-custom icon-constant"></i> Constants
+ <ul>
+<li class="constant "><a href="#constant_SERVER" title="SERVER :: reCaptcha's API server"><span class="description">reCaptcha's API server</span><pre>SERVER</pre></a></li>
+<li class="constant "><a href="#constant_SERVER_SECURE" title="SERVER_SECURE :: reCaptcha's secure API server"><span class="description">reCaptcha's secure API server</span><pre>SERVER_SECURE</pre></a></li>
+<li class="constant "><a href="#constant_VERIFY_SERVER" title="VERIFY_SERVER :: reCaptcha's verify server"><span class="description">reCaptcha's verify server</span><pre>VERIFY_SERVER</pre></a></li>
+</ul>
+</li>
</ul>
</div>
<div class="span8">
-<a name="%5CCaptcha%5CCaptcha" id="\Captcha\Captcha"></a><ul class="breadcrumb">
+<a id="\Captcha\Captcha"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
@@ -92,11 +106,11 @@
<span class="divider">\</span><a href="../classes/Captcha.Captcha.html">Captcha</a>
</li>
</ul>
-<div href="../classes/Captcha.Captcha.html" class="element class">
+<div class="element class">
<p class="short_description">Copyright (c) 2012, Aleksey Korzun <al.ko@webfoundation.net>
All rights reserved.</p>
<div class="details">
-<p class="long_description"><p>Redistribution and use in source and binary forms, with or without
+<div class="long_description"><p>Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:</p>
<ol>
@@ -122,7 +136,7 @@
of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project.</p>
-<p>Proper library for reCaptcha service</p></p>
+<p>Proper library for reCaptcha service</p></div>
<table class="table table-bordered">
<tr>
<th>author</th>
@@ -139,12 +153,21 @@
</table>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
-<a name="check" id="check"></a><div class="element clickable method public check" data-toggle="collapse" data-target=".check .collapse">
+<a id="method_check"></a><div class="element clickable method public method_check" data-toggle="collapse" data-target=".method_check .collapse">
<h2>Checks and validates user's response</h2>
-<pre>check() : <a href="../classes/Captcha.Response.html">\Captcha\Response</a></pre>
+<pre>check(string $captcha_challenge, string $captcha_response) : <a href="../classes/Captcha.Response.html">\Captcha\Response</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
+<h3>Parameters</h3>
+<div class="subelement argument">
+<h4>$captcha_challenge</h4>
+<code>string</code><p>Optional challenge string. If empty, value from $_POST will be used</p>
+</div>
+<div class="subelement argument">
+<h4>$captcha_response</h4>
+<code>string</code><p>Optional response string. If empty, value from $_POST will be used</p>
+</div>
<h3>Exceptions</h3>
<table class="table table-bordered"><tr>
<th><code><a href="../classes/Captcha.Exception.html">\Captcha\Exception</a></code></th>
@@ -154,42 +177,42 @@
<div class="subelement response"><code><a href="../classes/Captcha.Response.html">\Captcha\Response</a></code></div>
</div></div>
</div>
-<a name="getError" id="getError"></a><div class="element clickable method public getError" data-toggle="collapse" data-target=".getError .collapse">
+<a id="method_getError"></a><div class="element clickable method public method_getError" data-toggle="collapse" data-target=".method_getError .collapse">
<h2>Retrieve currently set error</h2>
<pre>getError() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
-<a name="getPrivateKey" id="getPrivateKey"></a><div class="element clickable method public getPrivateKey" data-toggle="collapse" data-target=".getPrivateKey .collapse">
+<a id="method_getPrivateKey"></a><div class="element clickable method public method_getPrivateKey" data-toggle="collapse" data-target=".method_getPrivateKey .collapse">
<h2>Retrieve currently set private key</h2>
<pre>getPrivateKey() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
-<a name="getPublicKey" id="getPublicKey"></a><div class="element clickable method public getPublicKey" data-toggle="collapse" data-target=".getPublicKey .collapse">
+<a id="method_getPublicKey"></a><div class="element clickable method public method_getPublicKey" data-toggle="collapse" data-target=".method_getPublicKey .collapse">
<h2>Retrieve currently set public key</h2>
<pre>getPublicKey() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
-<a name="html" id="html"></a><div class="element clickable method public html" data-toggle="collapse" data-target=".html .collapse">
+<a id="method_html"></a><div class="element clickable method public method_html" data-toggle="collapse" data-target=".method_html .collapse">
<h2>Generates reCaptcha form to output to your end user</h2>
<pre>html() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Exceptions</h3>
<table class="table table-bordered"><tr>
<th><code><a href="../classes/Captcha.Exception.html">\Captcha\Exception</a></code></th>
@@ -199,22 +222,22 @@
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
-<a name="isSsl" id="isSsl"></a><div class="element clickable method public isSsl" data-toggle="collapse" data-target=".isSsl .collapse">
+<a id="method_isSsl"></a><div class="element clickable method public method_isSsl" data-toggle="collapse" data-target=".method_isSsl .collapse">
<h2>Check if SSL is currently enabled</h2>
<pre>isSsl() : bool</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</code></div>
</div></div>
</div>
-<a name="setError" id="setError"></a><div class="element clickable method public setError" data-toggle="collapse" data-target=".setError .collapse">
+<a id="method_setError"></a><div class="element clickable method public method_setError" data-toggle="collapse" data-target=".method_setError .collapse">
<h2>Set public key</h2>
<pre>setError(string $error) : \Captcha\reCaptcha</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$error</h4>
@@ -224,12 +247,12 @@
<div class="subelement response"><code>\Captcha\reCaptcha</code></div>
</div></div>
</div>
-<a name="setPrivateKey" id="setPrivateKey"></a><div class="element clickable method public setPrivateKey" data-toggle="collapse" data-target=".setPrivateKey .collapse">
+<a id="method_setPrivateKey"></a><div class="element clickable method public method_setPrivateKey" data-toggle="collapse" data-target=".method_setPrivateKey .collapse">
<h2>Set private key</h2>
<pre>setPrivateKey(string $key) : \Captcha\reCaptcha</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
@@ -239,12 +262,12 @@
<div class="subelement response"><code>\Captcha\reCaptcha</code></div>
</div></div>
</div>
-<a name="setPublicKey" id="setPublicKey"></a><div class="element clickable method public setPublicKey" data-toggle="collapse" data-target=".setPublicKey .collapse">
+<a id="method_setPublicKey"></a><div class="element clickable method public method_setPublicKey" data-toggle="collapse" data-target=".method_setPublicKey .collapse">
<h2>Set public key</h2>
<pre>setPublicKey(string $key) : \Captcha\reCaptcha</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
@@ -254,12 +277,12 @@
<div class="subelement response"><code>\Captcha\reCaptcha</code></div>
</div></div>
</div>
-<a name="setSsl" id="setSsl"></a><div class="element clickable method public setSsl" data-toggle="collapse" data-target=".setSsl .collapse">
+<a id="method_setSsl"></a><div class="element clickable method public method_setSsl" data-toggle="collapse" data-target=".method_setSsl .collapse">
<h2>Set SSL flag</h2>
<pre>setSsl(bool $flag) : void</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$flag</h4>
@@ -267,12 +290,12 @@
</div>
</div></div>
</div>
-<a name="encode" id="encode"></a><div class="element clickable method protected encode" data-toggle="collapse" data-target=".encode .collapse">
+<a id="method_encode"></a><div class="element clickable method protected method_encode" data-toggle="collapse" data-target=".method_encode .collapse">
<h2>Construct encoded URI string from an array</h2>
<pre>encode(array $parameters) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$parameters</h4>
@@ -282,12 +305,12 @@
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
-<a name="process" id="process"></a><div class="element clickable method protected process" data-toggle="collapse" data-target=".process .collapse">
+<a id="method_process"></a><div class="element clickable method protected method_process" data-toggle="collapse" data-target=".method_process .collapse">
<h2>Make a signed validation request to reCaptcha's servers</h2>
<pre>process(array $parameters) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$parameters</h4>
@@ -304,49 +327,49 @@
</div>
<h3>
<i class="icon-custom icon-property"></i> Properties</h3>
-<a name="%24error" id="$error"> </a><div class="element clickable property protected $error" data-toggle="collapse" data-target=".$error .collapse">
-<h2>Custom error message to return</h2>
+<a id="property_error"> </a><div class="element clickable property protected property_error" data-toggle="collapse" data-target=".property_error .collapse">
+<h2></h2>
<pre>$error : string</pre>
<div class="labels"></div>
-<div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
+<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
-<a name="%24isSsl" id="$isSsl"> </a><div class="element clickable property protected $isSsl" data-toggle="collapse" data-target=".$isSsl .collapse">
-<h2>Flag to use SSL for our request(s)</h2>
+<a id="property_isSsl"> </a><div class="element clickable property protected property_isSsl" data-toggle="collapse" data-target=".property_isSsl .collapse">
+<h2></h2>
<pre>$isSsl : bool</pre>
<div class="labels"></div>
-<div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
+<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
-<a name="%24privateKey" id="$privateKey"> </a><div class="element clickable property protected $privateKey" data-toggle="collapse" data-target=".$privateKey .collapse">
-<h2>Private key</h2>
+<a id="property_privateKey"> </a><div class="element clickable property protected property_privateKey" data-toggle="collapse" data-target=".property_privateKey .collapse">
+<h2></h2>
<pre>$privateKey : string</pre>
<div class="labels"></div>
-<div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
+<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
-<a name="%24publicKey" id="$publicKey"> </a><div class="element clickable property protected $publicKey" data-toggle="collapse" data-target=".$publicKey .collapse">
-<h2>Public key</h2>
+<a id="property_publicKey"> </a><div class="element clickable property protected property_publicKey" data-toggle="collapse" data-target=".property_publicKey .collapse">
+<h2></h2>
<pre>$publicKey : string</pre>
<div class="labels"></div>
-<div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
+<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<h3>
<i class="icon-custom icon-constant"></i> Constants</h3>
-<a name="SERVER" id="SERVER"> </a><div class="element clickable constant SERVER" data-toggle="collapse" data-target=".SERVER .collapse">
+<a id="constant_SERVER"> </a><div class="element clickable constant constant_SERVER" data-toggle="collapse" data-target=".constant_SERVER .collapse">
<h2>reCaptcha's API server</h2>
<pre>SERVER : string</pre>
<div class="labels"></div>
-<div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
+<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
-<a name="SERVER_SECURE" id="SERVER_SECURE"> </a><div class="element clickable constant SERVER_SECURE" data-toggle="collapse" data-target=".SERVER_SECURE .collapse">
+<a id="constant_SERVER_SECURE"> </a><div class="element clickable constant constant_SERVER_SECURE" data-toggle="collapse" data-target=".constant_SERVER_SECURE .collapse">
<h2>reCaptcha's secure API server</h2>
<pre>SERVER_SECURE : string</pre>
<div class="labels"></div>
-<div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
+<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
-<a name="VERIFY_SERVER" id="VERIFY_SERVER"> </a><div class="element clickable constant VERIFY_SERVER" data-toggle="collapse" data-target=".VERIFY_SERVER .collapse">
+<a id="constant_VERIFY_SERVER"> </a><div class="element clickable constant constant_VERIFY_SERVER" data-toggle="collapse" data-target=".constant_VERIFY_SERVER .collapse">
<h2>reCaptcha's verify server</h2>
<pre>VERIFY_SERVER : string</pre>
<div class="labels"></div>
-<div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
+<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
</div>
</div>
@@ -354,8 +377,8 @@
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
- generated on 2012-08-14T08:07:30-04:00.<br></footer></div>
+ Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a13</a> and<br>
+ generated on 2013-04-07T15:47:49-04:00.<br></footer></div>
</div>
</body>
</html>
View
156 Documentation/classes/Captcha.Exception.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
+<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
@@ -52,31 +52,10 @@
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
-<ul class="side-nav nav nav-list">
-<li class="nav-header">
-<i class="icon-custom icon-method"></i> Methods</li>
-<li class="method public "><a href="#__construct" title="__construct :: "><span class="description">__construct()
- </span><pre>__construct()</pre></a></li>
-<li class="method public "><a href="#__toString" title="__toString :: "><span class="description">__toString()
- </span><pre>__toString()</pre></a></li>
-<li class="method public "><a href="#getCode" title="getCode :: "><span class="description">getCode()
- </span><pre>getCode()</pre></a></li>
-<li class="method public "><a href="#getFile" title="getFile :: "><span class="description">getFile()
- </span><pre>getFile()</pre></a></li>
-<li class="method public "><a href="#getLine" title="getLine :: "><span class="description">getLine()
- </span><pre>getLine()</pre></a></li>
-<li class="method public "><a href="#getMessage" title="getMessage :: "><span class="description">getMessage()
- </span><pre>getMessage()</pre></a></li>
-<li class="method public "><a href="#getPrevious" title="getPrevious :: "><span class="description">getPrevious()
- </span><pre>getPrevious()</pre></a></li>
-<li class="method public "><a href="#getTrace" title="getTrace :: "><span class="description">getTrace()
- </span><pre>getTrace()</pre></a></li>
-<li class="method public "><a href="#getTraceAsString" title="getTraceAsString :: "><span class="description">getTraceAsString()
- </span><pre>getTraceAsString()</pre></a></li>
-</ul>
+<ul class="side-nav nav nav-list"></ul>
</div>
<div class="span8">
-<a name="%5CCaptcha%5CException" id="\Captcha\Exception"></a><ul class="breadcrumb">
+<a id="\Captcha\Exception"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
@@ -85,11 +64,11 @@
<span class="divider">\</span><a href="../classes/Captcha.Exception.html">Exception</a>
</li>
</ul>
-<div href="../classes/Captcha.Exception.html" class="element class">
+<div class="element class">
<p class="short_description">Copyright (c) 2012, Aleksey Korzun <al.ko@webfoundation.net>
All rights reserved.</p>
<div class="details">
-<p class="long_description"><p>Redistribution and use in source and binary forms, with or without
+<div class="long_description"><p>Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:</p>
<ol>
@@ -115,7 +94,7 @@
of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project.</p>
-<p>reCaptcha exception object</p></p>
+<p>reCaptcha exception object</p></div>
<table class="table table-bordered">
<tr>
<th>author</th>
@@ -130,133 +109,14 @@
<td>reCaptcha</td>
</tr>
</table>
-<h3>
-<i class="icon-custom icon-method"></i> Methods</h3>
-<a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
-<h2>__construct()
- </h2>
-<pre>__construct() </pre>
-<div class="labels"></div>
-<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
-<table class="table table-bordered"><tr>
-<th>inherited_from</th>
-<td>Exception::__construct()</td>
-</tr></table>
-</div></div>
-</div>
-<a name="__toString" id="__toString"></a><div class="element clickable method public __toString" data-toggle="collapse" data-target=".__toString .collapse">
-<h2>__toString()
- </h2>
-<pre>__toString() </pre>
-<div class="labels"></div>
-<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
-<table class="table table-bordered"><tr>
-<th>inherited_from</th>
-<td>Exception::__toString()</td>
-</tr></table>
-</div></div>
-</div>
-<a name="getCode" id="getCode"></a><div class="element clickable method public getCode" data-toggle="collapse" data-target=".getCode .collapse">
-<h2>getCode()
- </h2>
-<pre>getCode() </pre>
-<div class="labels"></div>
-<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
-<table class="table table-bordered"><tr>
-<th>inherited_from</th>
-<td>Exception::getCode()</td>
-</tr></table>
-</div></div>
-</div>
-<a name="getFile" id="getFile"></a><div class="element clickable method public getFile" data-toggle="collapse" data-target=".getFile .collapse">
-<h2>getFile()
- </h2>
-<pre>getFile() </pre>
-<div class="labels"></div>
-<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
-<table class="table table-bordered"><tr>
-<th>inherited_from</th>
-<td>Exception::getFile()</td>
-</tr></table>
-</div></div>
-</div>
-<a name="getLine" id="getLine"></a><div class="element clickable method public getLine" data-toggle="collapse" data-target=".getLine .collapse">
-<h2>getLine()
- </h2>
-<pre>getLine() </pre>
-<div class="labels"></div>
-<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
-<table class="table table-bordered"><tr>
-<th>inherited_from</th>
-<td>Exception::getLine()</td>
-</tr></table>
-</div></div>
-</div>
-<a name="getMessage" id="getMessage"></a><div class="element clickable method public getMessage" data-toggle="collapse" data-target=".getMessage .collapse">
-<h2>getMessage()
- </h2>
-<pre>getMessage() </pre>
-<div class="labels"></div>
-<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
-<table class="table table-bordered"><tr>
-<th>inherited_from</th>
-<td>Exception::getMessage()</td>
-</tr></table>
-</div></div>
-</div>
-<a name="getPrevious" id="getPrevious"></a><div class="element clickable method public getPrevious" data-toggle="collapse" data-target=".getPrevious .collapse">
-<h2>getPrevious()
- </h2>
-<pre>getPrevious() </pre>
-<div class="labels"></div>
-<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
-<table class="table table-bordered"><tr>
-<th>inherited_from</th>
-<td>Exception::getPrevious()</td>
-</tr></table>
-</div></div>
-</div>
-<a name="getTrace" id="getTrace"></a><div class="element clickable method public getTrace" data-toggle="collapse" data-target=".getTrace .collapse">
-<h2>getTrace()
- </h2>
-<pre>getTrace() </pre>
-<div class="labels"></div>
-<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
-<table class="table table-bordered"><tr>
-<th>inherited_from</th>
-<td>Exception::getTrace()</td>
-</tr></table>
-</div></div>
-</div>
-<a name="getTraceAsString" id="getTraceAsString"></a><div class="element clickable method public getTraceAsString" data-toggle="collapse" data-target=".getTraceAsString .collapse">
-<h2>getTraceAsString()
- </h2>
-<pre>getTraceAsString() </pre>
-<div class="labels"></div>
-<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
-<table class="table table-bordered"><tr>
-<th>inherited_from</th>
-<td>Exception::getTraceAsString()</td>
-</tr></table>
-</div></div>
-</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
- generated on 2012-08-14T08:07:30-04:00.<br></footer></div>
+ Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a13</a> and<br>
+ generated on 2013-04-07T15:47:49-04:00.<br></footer></div>
</div>
</body>
</html>
View
68 Documentation/classes/Captcha.Response.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
+<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
@@ -54,20 +54,28 @@
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
-<i class="icon-custom icon-method"></i> Methods</li>
-<li class="method public "><a href="#getError" title="getError :: Retrieve currently set error message"><span class="description">Retrieve currently set error message</span><pre>getError()</pre></a></li>
-<li class="method public "><a href="#isValid" title="isValid :: Checks if response is valid (good)"><span class="description">Checks if response is valid (good)</span><pre>isValid()</pre></a></li>
-<li class="method public "><a href="#setError" title="setError :: Set error message that should be returned to user"><span class="description">Set error message that should be returned to user</span><pre>setError()</pre></a></li>
-<li class="method public "><a href="#setValid" title="setValid :: Set flag for a valid response indicator"><span class="description">Set flag for a valid response indicator</span><pre>setValid()</pre></a></li>
+<i class="icon-custom icon-method"></i> Methods
+ <ul>
+<li class="method public "><a href="#method_getError" title="getError :: Retrieve currently set error message"><span class="description">Retrieve currently set error message</span><pre>getError()</pre></a></li>
+<li class="method public "><a href="#method_isValid" title="isValid :: Checks if response is valid (good)"><span class="description">Checks if response is valid (good)</span><pre>isValid()</pre></a></li>
+<li class="method public "><a href="#method_setError" title="setError :: Set error message that should be returned to user"><span class="description">Set error message that should be returned to user</span><pre>setError()</pre></a></li>
+<li class="method public "><a href="#method_setValid" title="setValid :: Set flag for a valid response indicator"><span class="description">Set flag for a valid response indicator</span><pre>setValid()</pre></a></li>
+</ul>
+</li>
<li class="nav-header">
-<i class="icon-custom icon-property"></i> Properties</li>
-<li class="nav-header protected">» Protected</li>
-<li class="property protected "><a href="#%24error" title="$error :: Currently set error message"><span class="description">Currently set error message</span><pre>$error</pre></a></li>
-<li class="property protected "><a href="#%24isValid" title="$isValid :: Is response valid"><span class="description">Is response valid</span><pre>$isValid</pre></a></li>
+<i class="icon-custom icon-property"></i> Properties
+ <ul></ul>
+</li>
+<li class="nav-header protected">» Protected
+ <ul>
+<li class="property protected "><a href="#property_error" title="$error :: Currently set error message"><span class="description"></span><pre>$error</pre></a></li>
+<li class="property protected "><a href="#property_isValid" title="$isValid :: Is response valid"><span class="description"></span><pre>$isValid</pre></a></li>
+</ul>
+</li>
</ul>
</div>
<div class="span8">
-<a name="%5CCaptcha%5CResponse" id="\Captcha\Response"></a><ul class="breadcrumb">
+<a id="\Captcha\Response"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
@@ -76,11 +84,11 @@
<span class="divider">\</span><a href="../classes/Captcha.Response.html">Response</a>
</li>
</ul>
-<div href="../classes/Captcha.Response.html" class="element class">
+<div class="element class">
<p class="short_description">Copyright (c) 2012, Aleksey Korzun <al.ko@webfoundation.net>
All rights reserved.</p>
<div class="details">
-<p class="long_description"><p>Redistribution and use in source and binary forms, with or without
+<div class="long_description"><p>Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:</p>
<ol>
@@ -106,7 +114,7 @@
of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project.</p>
-<p>reCaptcha response object</p></p>
+<p>reCaptcha response object</p></div>
<table class="table table-bordered">
<tr>
<th>author</th>
@@ -123,32 +131,32 @@
</table>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
-<a name="getError" id="getError"></a><div class="element clickable method public getError" data-toggle="collapse" data-target=".getError .collapse">
+<a id="method_getError"></a><div class="element clickable method public method_getError" data-toggle="collapse" data-target=".method_getError .collapse">
<h2>Retrieve currently set error message</h2>
<pre>getError() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
-<a name="isValid" id="isValid"></a><div class="element clickable method public isValid" data-toggle="collapse" data-target=".isValid .collapse">
+<a id="method_isValid"></a><div class="element clickable method public method_isValid" data-toggle="collapse" data-target=".method_isValid .collapse">
<h2>Checks if response is valid (good)</h2>
<pre>isValid() : bool</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</code></div>
</div></div>
</div>
-<a name="setError" id="setError"></a><div class="element clickable method public setError" data-toggle="collapse" data-target=".setError .collapse">
+<a id="method_setError"></a><div class="element clickable method public method_setError" data-toggle="collapse" data-target=".method_setError .collapse">
<h2>Set error message that should be returned to user</h2>
<pre>setError(string $error) : <a href="../classes/Captcha.Response.html">\Captcha\Response</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$error</h4>
@@ -158,12 +166,12 @@
<div class="subelement response"><code><a href="../classes/Captcha.Response.html">\Captcha\Response</a></code></div>
</div></div>
</div>
-<a name="setValid" id="setValid"></a><div class="element clickable method public setValid" data-toggle="collapse" data-target=".setValid .collapse">
+<a id="method_setValid"></a><div class="element clickable method public method_setValid" data-toggle="collapse" data-target=".method_setValid .collapse">
<h2>Set flag for a valid response indicator</h2>
<pre>setValid(bool $flag) : <a href="../classes/Captcha.Response.html">\Captcha\Response</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
-<p class="long_description"></p>
+<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$flag</h4>
@@ -175,17 +183,17 @@
</div>
<h3>
<i class="icon-custom icon-property"></i> Properties</h3>
-<a name="%24error" id="$error"> </a><div class="element clickable property protected $error" data-toggle="collapse" data-target=".$error .collapse">
-<h2>Currently set error message</h2>
+<a id="property_error"> </a><div class="element clickable property protected property_error" data-toggle="collapse" data-target=".property_error .collapse">
+<h2></h2>
<pre>$error : string</pre>
<div class="labels"></div>
-<div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
+<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
-<a name="%24isValid" id="$isValid"> </a><div class="element clickable property protected $isValid" data-toggle="collapse" data-target=".$isValid .collapse">
-<h2>Is response valid</h2>
+<a id="property_isValid"> </a><div class="element clickable property protected property_isValid" data-toggle="collapse" data-target=".property_isValid .collapse">
+<h2></h2>
<pre>$isValid : bool</pre>
<div class="labels"></div>
-<div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
+<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
</div>
</div>
@@ -193,8 +201,8 @@
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
- generated on 2012-08-14T08:07:30-04:00.<br></footer></div>
+ Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a13</a> and<br>
+ generated on 2013-04-07T15:47:49-04:00.<br></footer></div>
</div>
</body>
</html>
View
5 Documentation/css/bootstrap.css
@@ -2105,6 +2105,11 @@ button.btn.small, input[type="submit"].btn.small {
color: #999999;
text-transform: uppercase;
}
+
+.nav-list .nav-header * {
+ text-transform:none;
+}
+
.nav-list > li + .nav-header {
margin-top: 9px;
}
View
1  Documentation/css/bootstrap.min.css
@@ -412,6 +412,7 @@ button.btn.small,input[type="submit"].btn.small{*padding-top:3px;*padding-bottom
.nav-list{padding-left:14px;padding-right:14px;margin-bottom:0;}
.nav-list>li>a,.nav-list .nav-header{display:block;padding:3px 15px;margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);}
.nav-list .nav-header{font-size:11px;font-weight:bold;line-height:18px;color:#999999;text-transform:uppercase;}
+.nav-list .nav-header *{text-transform:none;}
.nav-list>li+.nav-header{margin-top:9px;}
.nav-list .active>a,.nav-list .active>a:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.2);background-color:#0088cc;}
.nav-list [class^="icon-"]{margin-right:2px;}
View
13 Documentation/css/template.css
@@ -83,6 +83,10 @@ a.brand, h2, .hero-unit h1
background: white;
}
+.dropdown-menu a{
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
h2
{
border-bottom: 1px dashed #55A72F;
@@ -385,6 +389,7 @@ div.element div.subelement
{
margin-left: 10px;
padding-bottom: 5px;
+ clear: both;
}
pre code
@@ -404,7 +409,7 @@ div.element div.subelement > code
div.element div.subelement > p
{
margin-left: 20px;
- margin-right: 40px;
+ margin-right: 50px;
}
div.element div.subelement h4
@@ -416,6 +421,7 @@ div.element div.subelement h4
div.element div.subelement.response
{
padding-bottom: 15px;
+ margin-right: 50px;
}
div.labels
@@ -447,6 +453,11 @@ div.labels
font-weight: bold;
}
+.iviewer_common
+{
+ z-index: 100;
+}
+
@media (min-width: 980px)
{
a[name]
View
6 Documentation/deprecated.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
+<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
@@ -64,8 +64,8 @@
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
- generated on 2012-08-14T08:07:30-04:00.<br></footer></div>
+ Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a13</a> and<br>
+ generated on 2013-04-07T15:47:49-04:00.<br></footer></div>
</div>
</body>
</html>
View
20 Documentation/errors.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
+<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
@@ -55,8 +55,8 @@
</div></li>
<li class="nav-header">Navigation</li>
<li><a href="#Captcha.php"><i class="icon-file"></i>Captcha.php</a></li>
-<li><a href="#Response.php"><i class="icon-file"></i>Response.php</a></li>
<li><a href="#Exception.php"><i class="icon-file"></i>Exception.php</a></li>
+<li><a href="#Response.php"><i class="icon-file"></i>Response.php</a></li>
</ul></div>
<div class="span8">
<ul class="breadcrumb">
@@ -83,8 +83,8 @@
</table></div>
</div>
<div class="package-contents">
-<a name="Response.php" id="Response.php"></a><h3>
-<i class="icon-file"></i>Response.php<small style="float: right;padding-right: 10px;">1</small>
+<a name="Exception.php" id="Exception.php"></a><h3>
+<i class="icon-file"></i>Exception.php<small style="float: right;padding-right: 10px;">1</small>
</h3>
<div><table class="table markers table-bordered">
<thead><tr>
@@ -95,13 +95,13 @@
<tbody><tr class="error">
<td>error</td>
<td>0</td>
-<td>No page-level DocBlock was found in file Response.php</td>
+<td>No page-level DocBlock was found in file Exception.php</td>
</tr></tbody>
</table></div>
</div>
<div class="package-contents">
-<a name="Exception.php" id="Exception.php"></a><h3>
-<i class="icon-file"></i>Exception.php<small style="float: right;padding-right: 10px;">1</small>
+<a name="Response.php" id="Response.php"></a><h3>
+<i class="icon-file"></i>Response.php<small style="float: right;padding-right: 10px;">1</small>
</h3>
<div><table class="table markers table-bordered">
<thead><tr>
@@ -112,7 +112,7 @@
<tbody><tr class="error">
<td>error</td>
<td>0</td>
-<td>No page-level DocBlock was found in file Exception.php</td>
+<td>No page-level DocBlock was found in file Response.php</td>
</tr></tbody>
</table></div>
</div>
@@ -120,8 +120,8 @@
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
- generated on 2012-08-14T08:07:30-04:00.<br></footer></div>
+ Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a13</a> and<br>
+ generated on 2013-04-07T15:47:49-04:00.<br></footer></div>
</div>
</body>
</html>
View
6 Documentation/graph_class.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
+<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
@@ -61,8 +61,8 @@
});
</script><div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
- generated on 2012-08-14T08:07:30-04:00.<br></footer></div>
+ Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a13</a> and<br>
+ generated on 2013-04-07T15:47:49-04:00.<br></footer></div>
</div>
</body>
</html>
View
6 Documentation/index.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
+<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
@@ -81,8 +81,8 @@
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
- generated on 2012-08-14T08:07:30-04:00.<br></footer></div>
+ Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a13</a> and<br>
+ generated on 2013-04-07T15:47:49-04:00.<br></footer></div>
</div>
</body>
</html>
View
7 Documentation/js/template.js
@@ -10,7 +10,7 @@ function initializeContents()
$(".element a.more").hide();
$(".clickable.class,.clickable.interface").click(function() {
- document.location = $(this).attr('href');
+ document.location = $("a.more", this).attr('href');
});
// change the cursor to a pointer to make it more explicit that this it clickable
@@ -140,7 +140,10 @@ $(document).ready(function() {
var thisPath = filterPath(this.pathname) || locationPath;
if (locationPath == thisPath && (location.hostname == this.hostname || !this.hostname) && this.hash.replace(/#/, ''))
{
- var $target = $(this.hash), target = this.hash;
+ var target = decodeURIComponent(this.hash.replace(/#/,''));
+ // note: I'm using attribute selector, because id selector can't match elements with '$'
+ var $target = $('[id="'+target+'"]');
+
if ($target.length > 0)
{
$(this).click(function (event)
View
6 Documentation/markers.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
+<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
@@ -66,8 +66,8 @@
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
- generated on 2012-08-14T08:07:30-04:00.<br></footer></div>
+ Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a13</a> and<br>
+ generated on 2013-04-07T15:47:49-04:00.<br></footer></div>
</div>
</body>
</html>
View
12 Documentation/namespaces/Captcha.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
+<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
@@ -70,7 +70,7 @@
<div class="namespace-indent">
<h3>
<i class="icon-custom icon-class"></i> Classes and interfaces</h3>
-<a name="Captcha" id="Captcha"></a><div class="element ajax clickable class" href="../classes/Captcha.Captcha.html">
+<div id="Captcha" class="element ajax clickable class">
<h1>Captcha<a href="../classes/Captcha.Captcha.html">¶</a>
</h1>
<p class="short_description">Copyright (c) 2012, Aleksey Korzun <al.ko@webfoundation.net>
@@ -78,7 +78,7 @@
<div class="details collapse"></div>
<a href="../classes/Captcha.Captcha.html" class="more">« More »</a>
</div>
-<a name="Exception" id="Exception"></a><div class="element ajax clickable class" href="../classes/Captcha.Exception.html">
+<div id="Exception" class="element ajax clickable class">
<h1>Exception<a href="../classes/Captcha.Exception.html">¶</a>
</h1>
<p class="short_description">Copyright (c) 2012, Aleksey Korzun <al.ko@webfoundation.net>
@@ -86,7 +86,7 @@
<div class="details collapse"></div>
<a href="../classes/Captcha.Exception.html" class="more">« More »</a>
</div>
-<a name="Response" id="Response"></a><div class="element ajax clickable class" href="../classes/Captcha.Response.html">
+<div id="Response" class="element ajax clickable class">
<h1>Response<a href="../classes/Captcha.Response.html">¶</a>
</h1>
<p class="short_description">Copyright (c) 2012, Aleksey Korzun <al.ko@webfoundation.net>
@@ -99,8 +99,8 @@
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
- generated on 2012-08-14T08:07:30-04:00.<br></footer></div>
+ Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a13</a> and<br>
+ generated on 2013-04-07T15:47:49-04:00.<br></footer></div>
</div>
</body>
</html>
View
6 Documentation/packages/Default.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
+<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
@@ -64,8 +64,8 @@
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
- generated on 2012-08-14T08:07:30-04:00.<br></footer></div>
+ Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a13</a> and<br>
+ generated on 2013-04-07T15:47:49-04:00.<br></footer></div>
</div>
</body>
</html>
View
32 Documentation/packages/library.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
+<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
@@ -67,16 +67,13 @@
</ul>
</div>
<div class="span8 package-contents">
-<ul class="breadcrumb">
-<li>
-<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span>
-</li>
-<li class="active"><a href="../packages/library.html">library</a></li>
-</ul>
+<ul class="breadcrumb"><li>
+<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span><li class="active"><a href="../packages/library.html">library</a></li>
+</li></ul>
<div class="package-indent">
<h3>
<i class="icon-custom icon-class"></i> Classes and interfaces</h3>
-<a name="Captcha" id="Captcha"></a><div class="element ajax clickable class" href="../classes/Captcha.Captcha.html">
+<div id="Captcha" class="element ajax clickable class">
<h1>Captcha<a href="../classes/Captcha.Captcha.html">¶</a>
</h1>
<p class="short_description">Copyright (c) 2012, Aleksey Korzun <al.ko@webfoundation.net>
@@ -84,17 +81,16 @@
<div class="details collapse"></div>
<a href="../classes/Captcha.Captcha.html" class="more">« More »</a>
</div>
-<ul class="breadcrumb">
-<li>
-<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span>
+<ul class="breadcrumb"><li>
+<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span><li><a href="../packages/library.html">library</a></li>
+<li class="active">
+<span class="divider">\</span><a href="../packages/library.reCaptcha.html">reCaptcha</a>
</li>
-<li><a href="../packages/library.html">library</a></li>
-<span class="divider">\</span><li class="active"><a href="../packages/library.reCaptcha.html">reCaptcha</a></li>
-</ul>
+</li></ul>
<div class="package-indent">
<h3>
<i class="icon-custom icon-class"></i> Classes and interfaces</h3>
-<a name="Exception" id="Exception"></a><div class="element ajax clickable class" href="../classes/Captcha.Exception.html">
+<div id="Exception" class="element ajax clickable class">
<h1>Exception<a href="../classes/Captcha.Exception.html">¶</a>
</h1>
<p class="short_description">Copyright (c) 2012, Aleksey Korzun <al.ko@webfoundation.net>
@@ -102,7 +98,7 @@
<div class="details collapse"></div>
<a href="../classes/Captcha.Exception.html" class="more">« More »</a>
</div>
-<a name="Response" id="Response"></a><div class="element ajax clickable class" href="../classes/Captcha.Response.html">
+<div id="Response" class="element ajax clickable class">
<h1>Response<a href="../classes/Captcha.Response.html">¶</a>
</h1>
<p class="short_description">Copyright (c) 2012, Aleksey Korzun <al.ko@webfoundation.net>
@@ -116,8 +112,8 @@
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
- generated on 2012-08-14T08:07:30-04:00.<br></footer></div>
+ Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a13</a> and<br>
+ generated on 2013-04-07T15:47:49-04:00.<br></footer></div>
</div>
</body>
</html>
View
25 Documentation/packages/library.reCaptcha.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
+<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
@@ -60,24 +60,23 @@
</li>
<li class="nav-header">
<i class="icon-custom icon-class"></i> Classes</li>
-<li><a href="#Response" title="Copyright (c) 2012, Aleksey Korzun &lt;al.ko@webfoundation.net&gt;
-All rights reserved.">Response</a></li>
<li><a href="#Exception" title="Copyright (c) 2012, Aleksey Korzun &lt;al.ko@webfoundation.net&gt;
All rights reserved.">Exception</a></li>
+<li><a href="#Response" title="Copyright (c) 2012, Aleksey Korzun &lt;al.ko@webfoundation.net&gt;
+All rights reserved.">Response</a></li>
</ul>
</div>
<div class="span8 package-contents">
-<ul class="breadcrumb">
-<li>
-<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span>
+<ul class="breadcrumb"><li>
+<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span><li><a href="../packages/library.html">library</a></li>
+<li class="active">
+<span class="divider">\</span><a href="../packages/library.reCaptcha.html">reCaptcha</a>
</li>
-<li><a href="../packages/library.html">library</a></li>
-<span class="divider">\</span><li class="active"><a href="../packages/library.reCaptcha.html">reCaptcha</a></li>
-</ul>
+</li></ul>
<div class="package-indent">
<h3>
<i class="icon-custom icon-class"></i> Classes and interfaces</h3>
-<a name="Exception" id="Exception"></a><div class="element ajax clickable class" href="../classes/Captcha.Exception.html">
+<div id="Exception" class="element ajax clickable class">
<h1>Exception<a href="../classes/Captcha.Exception.html">¶</a>
</h1>
<p class="short_description">Copyright (c) 2012, Aleksey Korzun <al.ko@webfoundation.net>
@@ -85,7 +84,7 @@
<div class="details collapse"></div>
<a href="../classes/Captcha.Exception.html" class="more">« More »</a>
</div>
-<a name="Response" id="Response"></a><div class="element ajax clickable class" href="../classes/Captcha.Response.html">
+<div id="Response" class="element ajax clickable class">
<h1>Response<a href="../classes/Captcha.Response.html">¶</a>
</h1>
<p class="short_description">Copyright (c) 2012, Aleksey Korzun <al.ko@webfoundation.net>
@@ -98,8 +97,8 @@
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
- Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
- generated on 2012-08-14T08:07:30-04:00.<br></footer></div>
+ Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a13</a> and<br>
+ generated on 2013-04-07T15:47:49-04:00.<br></footer></div>
</div>
</body>
</html>
View
306 Documentation/structure.xml
@@ -1,27 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
-<project version="2.0.0a8" title="">
- <file path="Captcha.php" hash="fef3a5c4b943b65c0e4096a08b5b9c17" package="Default">
- <namespace-alias name="Response">Captcha\Response</namespace-alias>
- <namespace-alias name="Exception">Captcha\Exception</namespace-alias>
+<project version="2.0.0a13" title="">
+ <file path="Captcha.php" hash="0ec4eac37b36afe60c61b303027056d1" package="Default">
<class final="false" abstract="false" namespace="Captcha" line="41" package="library">
<extends/>
<name>Captcha</name>
<full_name>\Captcha\Captcha</full_name>
<docblock line="7">
- <description><![CDATA[Copyright (c) 2012, Aleksey Korzun <al.ko@webfoundation.net>
-All rights reserved.]]></description>
- <long-description><![CDATA[<p>Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:</p>
+ <description>Copyright (c) 2012, Aleksey Korzun &lt;al.ko@webfoundation.net&gt;
+All rights reserved.</description>
+ <long-description>&lt;p&gt;Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:&lt;/p&gt;
-<ol>
-<li>Redistributions of source code must retain the above copyright notice, this
-list of conditions and the following disclaimer.</li>
-<li>Redistributions in binary form must reproduce the above copyright notice,
+&lt;ol&gt;
+&lt;li&gt;Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.&lt;/li&gt;
+&lt;li&gt;Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
-and/or other materials provided with the distribution.</li>
-</ol>
+and/or other materials provided with the distribution.&lt;/li&gt;
+&lt;/ol&gt;
-<p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+&lt;p&gt;THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
@@ -30,13 +28,13 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&lt;/p&gt;
-<p>The views and conclusions contained in the software and documentation are those
+&lt;p&gt;The views and conclusions contained in the software and documentation are those
of the authors and should not be interpreted as representing official policies,
-either expressed or implied, of the FreeBSD Project.</p>
+either expressed or implied, of the FreeBSD Project.&lt;/p&gt;
-<p>Proper library for reCaptcha service</p>]]></long-description>
+&lt;p&gt;Proper library for reCaptcha service&lt;/p&gt;</long-description>
<tag line="7" name="author" description="Aleksey Korzun &lt;al.ko@webfoundation.net&gt;"/>
<tag line="7" name="throws" description="" type="\Captcha\Exception">
<type by_reference="false">\Captcha\Exception</type>
@@ -46,10 +44,10 @@ either expressed or implied, of the FreeBSD Project.</p>
<constant namespace="Captcha" line="48" package="library">
<name>SERVER</name>
<full_name>SERVER</full_name>
- <value><![CDATA['http://api.recaptcha.net']]></value>
+ <value>'http://www.google.com/recaptcha/api'</value>
<docblock line="43">
- <description><![CDATA[reCaptcha's API server]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>reCaptcha's API server</description>
+ <long-description></long-description>
<tag line="43" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
@@ -58,10 +56,10 @@ either expressed or implied, of the FreeBSD Project.</p>
<constant namespace="Captcha" line="55" package="library">
<name>SERVER_SECURE</name>
<full_name>SERVER_SECURE</full_name>
- <value><![CDATA['https://api-secure.recaptcha.net']]></value>
+ <value>'https://www.google.com/recaptcha/api'</value>
<docblock line="50">
- <description><![CDATA[reCaptcha's secure API server]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>reCaptcha's secure API server</description>
+ <long-description></long-description>
<tag line="50" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
@@ -70,10 +68,10 @@ either expressed or implied, of the FreeBSD Project.</p>
<constant namespace="Captcha" line="62" package="library">
<name>VERIFY_SERVER</name>
<full_name>VERIFY_SERVER</full_name>
- <value><![CDATA['api-verify.recaptcha.net']]></value>
+ <value>'www.google.com'</value>
<docblock line="57">
- <description><![CDATA[reCaptcha's verify server]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>reCaptcha's verify server</description>
+ <long-description></long-description>
<tag line="57" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
@@ -81,10 +79,10 @@ either expressed or implied, of the FreeBSD Project.</p>
</constant>
<property final="false" static="false" visibility="protected" line="69" namespace="Captcha" package="Default">
<name>$privateKey</name>
- <default><![CDATA[]]></default>
+ <default></default>
<docblock line="64">
- <description><![CDATA[Private key]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>Private key</description>
+ <long-description></long-description>
<tag line="64" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
@@ -92,10 +90,10 @@ either expressed or implied, of the FreeBSD Project.</p>
</property>
<property final="false" static="false" visibility="protected" line="76" namespace="Captcha" package="Default">
<name>$publicKey</name>
- <default><![CDATA[]]></default>
+ <default></default>
<docblock line="71">
- <description><![CDATA[Public key]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>Public key</description>
+ <long-description></long-description>
<tag line="71" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
@@ -103,10 +101,10 @@ either expressed or implied, of the FreeBSD Project.</p>
</property>
<property final="false" static="false" visibility="protected" line="83" namespace="Captcha" package="Default">
<name>$error</name>
- <default><![CDATA[]]></default>
+ <default></default>
<docblock line="78">
- <description><![CDATA[Custom error message to return]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>Custom error message to return</description>
+ <long-description></long-description>
<tag line="78" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
@@ -114,10 +112,10 @@ either expressed or implied, of the FreeBSD Project.</p>
</property>
<property final="false" static="false" visibility="protected" line="90" namespace="Captcha" package="Default">
<name>$isSsl</name>
- <default><![CDATA[false]]></default>
+ <default>false</default>
<docblock line="85">
- <description><![CDATA[Flag to use SSL for our request(s)]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>Flag to use SSL for our request(s)</description>
+ <long-description></long-description>
<tag line="85" name="var" description="" type="bool">
<type by_reference="false">bool</type>
</tag>
@@ -127,8 +125,8 @@ either expressed or implied, of the FreeBSD Project.</p>
<name>setSsl</name>
<full_name>setSsl</full_name>
<docblock line="92">
- <description><![CDATA[Set SSL flag]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>Set SSL flag</description>
+ <long-description></long-description>
<tag line="92" name="param" description="" type="bool" variable="$flag">
<type by_reference="false">bool</type>
</tag>
@@ -138,7 +136,7 @@ either expressed or implied, of the FreeBSD Project.</p>
</docblock>
<argument line="98">
<name>$flag</name>
- <default><![CDATA[true]]></default>
+ <default>true</default>
<type/>
</argument>
</method>
@@ -146,8 +144,8 @@ either expressed or implied, of the FreeBSD Project.</p>
<name>isSsl</name>
<full_name>isSsl</full_name>
<docblock line="103">
- <description><![CDATA[Check if SSL is currently enabled]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>Check if SSL is currently enabled</description>
+ <long-description></long-description>
<tag line="103" name="return" description="" type="bool">
<type by_reference="false">bool</type>
</tag>
@@ -157,8 +155,8 @@ either expressed or implied, of the FreeBSD Project.</p>
<name>setPublicKey</name>
<full_name>setPublicKey</full_name>
<docblock line="113">
- <description><![CDATA[Set public key]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>Set public key</description>
+ <long-description></long-description>
<tag line="113" name="param" description="" type="string" variable="$key">
<type by_reference="false">string</type>
</tag>
@@ -168,7 +166,7 @@ either expressed or implied, of the FreeBSD Project.</p>
</docblock>
<argument line="119">
<name>$key</name>
- <default><![CDATA[]]></default>
+ <default></default>
<type/>
</argument>
</method>
@@ -176,8 +174,8 @@ either expressed or implied, of the FreeBSD Project.</p>
<name>getPublicKey</name>
<full_name>getPublicKey</full_name>
<docblock line="125">
- <description><![CDATA[Retrieve currently set public key]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>Retrieve currently set public key</description>
+ <long-description></long-description>
<tag line="125" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
@@ -187,8 +185,8 @@ either expressed or implied, of the FreeBSD Project.</p>
<name>setPrivateKey</name>
<full_name>setPrivateKey</full_name>
<docblock line="135">
- <description><![CDATA[Set private key]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>Set private key</description>
+ <long-description></long-description>
<tag line="135" name="param" description="" type="string" variable="$key">
<type by_reference="false">string</type>
</tag>
@@ -198,7 +196,7 @@ either expressed or implied, of the FreeBSD Project.</p>
</docblock>
<argument line="141">
<name>$key</name>
- <default><![CDATA[]]></default>
+ <default></default>
<type/>
</argument>
</method>
@@ -206,8 +204,8 @@ either expressed or implied, of the FreeBSD Project.</p>
<name>getPrivateKey</name>
<full_name>getPrivateKey</full_name>
<docblock line="147">
- <description><![CDATA[Retrieve currently set private key]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>Retrieve currently set private key</description>
+ <long-description></long-description>
<tag line="147" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
@@ -217,8 +215,8 @@ either expressed or implied, of the FreeBSD Project.</p>
<name>setError</name>
<full_name>setError</full_name>
<docblock line="157">
- <description><![CDATA[Set public key]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>Set public key</description>
+ <long-description></long-description>
<tag line="157" name="param" description="" type="string" variable="$error">
<type by_reference="false">string</type>
</tag>
@@ -228,7 +226,7 @@ either expressed or implied, of the FreeBSD Project.</p>
</docblock>
<argument line="163">
<name>$error</name>
- <default><![CDATA[]]></default>
+ <default></default>
<type/>
</argument>
</method>
@@ -236,8 +234,8 @@ either expressed or implied, of the FreeBSD Project.</p>
<name>getError</name>
<full_name>getError</full_name>
<docblock line="169">
- <description><![CDATA[Retrieve currently set error]]></description>
- <long-description><![CDATA[]]></long-description>
+ <description>Retrieve currently set error</description>
+ <long-description></long-description>
<tag line="169" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
@@ -247,8 +245,8 @@ either expressed or implied, of the FreeBSD Project.</p>
<name>html</name>
<full_name>html</full_name>
<docblock line="179">
- <description><![CDATA[Generates reCaptcha form to output to your end user