Skip to content

Commit

Permalink
a little more sane error reporting, minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
deseven committed Dec 10, 2019
1 parent e19426d commit 082ebcd
Show file tree
Hide file tree
Showing 3 changed files with 388 additions and 388 deletions.
26 changes: 13 additions & 13 deletions doc/class-vodka.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h1>Class vodka</h1>
<b>Author:</b>
deseven<br>
<b>Version:</b>
1.0.0<br>
1.0.1<br>
<b>Link:</b>
<a href="https://github.com/deseven/vodka">https://github.com/deseven/vodka</a><br>
<b>Located at</b> <a href="source-class-vodka.html#3-600" title="Go to source code"></a>
Expand All @@ -103,7 +103,7 @@ <h1>Class vodka</h1>

<td class="name"><div>
<a class="anchor" href="#___construct">#</a>
<code><a href="source-class-vodka.html#83-256" title="Go to source code">__construct</a>( <span>array <var>$params</var></span> )</code>
<code><a href="source-class-vodka.html#88-261" title="Go to source code">__construct</a>( <span>array <var>$params</var></span> )</code>

<div class="description short">
<p>Engine initialization.</p>
Expand Down Expand Up @@ -144,7 +144,7 @@ <h4>Returns</h4>

<td class="name"><div>
<a class="anchor" href="#_getStartTime">#</a>
<code><a href="source-class-vodka.html#258-265" title="Go to source code">getStartTime</a>( )</code>
<code><a href="source-class-vodka.html#263-270" title="Go to source code">getStartTime</a>( )</code>

<div class="description short">
<p>Return vodka start time.</p>
Expand Down Expand Up @@ -178,7 +178,7 @@ <h4>Returns</h4>

<td class="name"><div>
<a class="anchor" href="#_loadTemplate">#</a>
<code><a href="source-class-vodka.html#267-293" title="Go to source code">loadTemplate</a>( <span>string <var>$name</var></span> )</code>
<code><a href="source-class-vodka.html#272-298" title="Go to source code">loadTemplate</a>( <span>string <var>$name</var></span> )</code>

<div class="description short">
<p>Loads template by its name.</p>
Expand Down Expand Up @@ -217,7 +217,7 @@ <h4>Returns</h4>

<td class="name"><div>
<a class="anchor" href="#_getPageByName">#</a>
<code><a href="source-class-vodka.html#295-315" title="Go to source code">getPageByName</a>( <span>string <var>$name</var></span> )</code>
<code><a href="source-class-vodka.html#300-320" title="Go to source code">getPageByName</a>( <span>string <var>$name</var></span> )</code>

<div class="description short">
<p>Returns page by its name or alias.</p>
Expand Down Expand Up @@ -256,7 +256,7 @@ <h4>Returns</h4>

<td class="name"><div>
<a class="anchor" href="#_getCurrentPage">#</a>
<code><a href="source-class-vodka.html#317-363" title="Go to source code">getCurrentPage</a>( )</code>
<code><a href="source-class-vodka.html#322-368" title="Go to source code">getCurrentPage</a>( )</code>

<div class="description short">
<p>Returns current page.</p>
Expand Down Expand Up @@ -290,7 +290,7 @@ <h4>Returns</h4>

<td class="name"><div>
<a class="anchor" href="#_loadCurrentPage">#</a>
<code><a href="source-class-vodka.html#365-372" title="Go to source code">loadCurrentPage</a>( )</code>
<code><a href="source-class-vodka.html#370-377" title="Go to source code">loadCurrentPage</a>( )</code>

<div class="description short">
<p>Loads current page.</p>
Expand Down Expand Up @@ -324,7 +324,7 @@ <h4>Returns</h4>

<td class="name"><div>
<a class="anchor" href="#_loadPage">#</a>
<code><a href="source-class-vodka.html#374-402" title="Go to source code">loadPage</a>( <span>mixed <var>$page</var></span> )</code>
<code><a href="source-class-vodka.html#379-407" title="Go to source code">loadPage</a>( <span>mixed <var>$page</var></span> )</code>

<div class="description short">
<p>Loads specified page.</p>
Expand Down Expand Up @@ -356,14 +356,14 @@ <h4>Returns</h4>
<td class="attributes"><code>
public

string
mixed

</code>
</td>

<td class="name"><div>
<a class="anchor" href="#_getPageURL">#</a>
<code><a href="source-class-vodka.html#404-424" title="Go to source code">getPageURL</a>( <span>mixed <var>$page</var></span> )</code>
<code><a href="source-class-vodka.html#409-424" title="Go to source code">getPageURL</a>( <span>mixed <var>$page</var></span> )</code>

<div class="description short">
<p>Get specified page url.</p>
Expand All @@ -381,7 +381,7 @@ <h4>Parameters</h4>

<h4>Returns</h4>
<div class="list">
string<br>$url Canonical URL of the page.
mixed<br><code>string</code> with canonical URL of the page or <code>false</code>.
</div>


Expand Down Expand Up @@ -659,7 +659,7 @@ <h4>Example</h4>
<td class="value">
<div>
<a href="#ver" class="anchor">#</a>
<code><span class="php-quote">'1.0.0'</span></code>
<code><span class="php-quote">'1.0.1'</span></code>
</div>
</td>
</tr>
Expand All @@ -683,7 +683,7 @@ <h4>Example</h4>
<td class="value">
<div>
<a href="#rev" class="anchor">#</a>
<code><span class="php-num">100</span></code>
<code><span class="php-num">101</span></code>
</div>
</td>
</tr>
Expand Down
Loading

0 comments on commit 082ebcd

Please sign in to comment.