Skip to content

Commit 082ebcd

Browse files
committed
a little more sane error reporting, minor improvements
1 parent e19426d commit 082ebcd

File tree

3 files changed

+388
-388
lines changed

3 files changed

+388
-388
lines changed

doc/class-vodka.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h1>Class vodka</h1>
8080
<b>Author:</b>
8181
deseven<br>
8282
<b>Version:</b>
83-
1.0.0<br>
83+
1.0.1<br>
8484
<b>Link:</b>
8585
<a href="https://github.com/deseven/vodka">https://github.com/deseven/vodka</a><br>
8686
<b>Located at</b> <a href="source-class-vodka.html#3-600" title="Go to source code"></a>
@@ -103,7 +103,7 @@ <h1>Class vodka</h1>
103103

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

108108
<div class="description short">
109109
<p>Engine initialization.</p>
@@ -144,7 +144,7 @@ <h4>Returns</h4>
144144

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

149149
<div class="description short">
150150
<p>Return vodka start time.</p>
@@ -178,7 +178,7 @@ <h4>Returns</h4>
178178

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

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

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

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

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

261261
<div class="description short">
262262
<p>Returns current page.</p>
@@ -290,7 +290,7 @@ <h4>Returns</h4>
290290

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

295295
<div class="description short">
296296
<p>Loads current page.</p>
@@ -324,7 +324,7 @@ <h4>Returns</h4>
324324

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

329329
<div class="description short">
330330
<p>Loads specified page.</p>
@@ -356,14 +356,14 @@ <h4>Returns</h4>
356356
<td class="attributes"><code>
357357
public
358358

359-
string
359+
mixed
360360

361361
</code>
362362
</td>
363363

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

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

382382
<h4>Returns</h4>
383383
<div class="list">
384-
string<br>$url Canonical URL of the page.
384+
mixed<br><code>string</code> with canonical URL of the page or <code>false</code>.
385385
</div>
386386

387387

@@ -659,7 +659,7 @@ <h4>Example</h4>
659659
<td class="value">
660660
<div>
661661
<a href="#ver" class="anchor">#</a>
662-
<code><span class="php-quote">'1.0.0'</span></code>
662+
<code><span class="php-quote">'1.0.1'</span></code>
663663
</div>
664664
</td>
665665
</tr>
@@ -683,7 +683,7 @@ <h4>Example</h4>
683683
<td class="value">
684684
<div>
685685
<a href="#rev" class="anchor">#</a>
686-
<code><span class="php-num">100</span></code>
686+
<code><span class="php-num">101</span></code>
687687
</div>
688688
</td>
689689
</tr>

0 commit comments

Comments
 (0)