Skip to content

Commit

Permalink
fix: helper html_title_() should print content by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
djalmaoliveira committed Sep 9, 2014
1 parent 69131d2 commit 0b2d540
Show file tree
Hide file tree
Showing 16 changed files with 475 additions and 440 deletions.
4 changes: 2 additions & 2 deletions docs/api/class-Liber.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h1>Class Liber</h1>
Djalma Oliveira (<a
href="mailto:djalmaoliveira&#64;gmail.com">djalmaoliveira&#64;<!-- -->gmail.com</a>)<br>
<b>Version:</b>
2.1.11<br>
2.2.0<br>
<b>Since:</b>
1.0<br>
<b>Located at</b> <a href="source-class-Liber.html#9-676" title="Go to source code">Liber.php</a><br>
Expand Down Expand Up @@ -1179,7 +1179,7 @@ <h4>Returns</h4>
<td class="name"><code>
<a href="source-class-Liber.html#20-23" title="Go to source code"><b>VERSION</b></a>
</code></td>
<td class="value"><code><span class="php-quote">'2.1.11'</span></code></td>
<td class="value"><code><span class="php-quote">'2.2.0'</span></code></td>
<td class="description"><div>
<a href="#VERSION" class="anchor">#</a>

Expand Down
2 changes: 1 addition & 1 deletion docs/api/function-html_header_.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ <h1>Function html_header_</h1>
<b>Author:</b>
<a
href="mailto:djalmaoliveira&#64;gmail.com">djalmaoliveira&#64;<!-- -->gmail.com</a><br>
<b>Located at</b> <a href="source-function-html_header_.html#13-64" title="Go to source code">helper/HTML.php</a><br>
<b>Located at</b> <a href="source-function-html_header_.html#13-63" title="Go to source code">helper/HTML.php</a><br>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/api/function-html_script_.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h1>Function html_script_</h1>
<b>Author:</b>
<a
href="mailto:djalmaoliveira&#64;gmail.com">djalmaoliveira&#64;<!-- -->gmail.com</a><br>
<b>Located at</b> <a href="source-function-html_script_.html#114-145" title="Go to source code">helper/HTML.php</a><br>
<b>Located at</b> <a href="source-function-html_script_.html#118-149" title="Go to source code">helper/HTML.php</a><br>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/api/function-html_style_.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h1>Function html_style_</h1>
<b>Author:</b>
<a
href="mailto:djalmaoliveira&#64;gmail.com">djalmaoliveira&#64;<!-- -->gmail.com</a><br>
<b>Located at</b> <a href="source-function-html_style_.html#148-179" title="Go to source code">helper/HTML.php</a><br>
<b>Located at</b> <a href="source-function-html_style_.html#152-183" title="Go to source code">helper/HTML.php</a><br>
</div>


Expand Down
13 changes: 9 additions & 4 deletions docs/api/function-html_title_.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,13 @@ <h1>Function html_title_</h1>
html_title_( <span
class="php-quote">'title of page'</span> );
<span
class="php-comment">// get title</span>
class="php-comment">// print current stored title</span>
html_title_();
<span
class="php-comment">// return stored title</span>
<span
class="php-var">$title</span> = html_title_(<span
class="php-keyword1">true</span>);
</pre>

</div>
Expand All @@ -131,15 +136,15 @@ <h1>Function html_title_</h1>
<b>Author:</b>
<a
href="mailto:djalmaoliveira&#64;gmail.com">djalmaoliveira&#64;<!-- -->gmail.com</a><br>
<b>Located at</b> <a href="source-function-html_title_.html#92-112" title="Go to source code">helper/HTML.php</a><br>
<b>Located at</b> <a href="source-function-html_title_.html#92-115" title="Go to source code">helper/HTML.php</a><br>
</div>


<table class="summary" id="parameters">
<caption>Parameters summary</caption>
<tr id="$title">
<td class="name"><code>String</code></td>
<td class="value"><code><var>$title</var> = <span class="php-keyword1">null</span></code></td>
<td class="name"><code>String/boolean</code></td>
<td class="value"><code><var>$title</var> = <span class="php-keyword1">false</span></code></td>
<td>

</td>
Expand Down
5 changes: 3 additions & 2 deletions docs/api/package-helpers.html.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ <h1>Package <a href="package-helpers.html">helpers</a>\html</h1>
<tr>
<td class="name"><a href="function-html_title_.html">html_title_</a></td>
<td>Set or get the text to html title tag. &lt;code&gt; Usage: // set title of page,
used inside template files html_title_( 'title of page' ); // get title
html_title_(); &lt;/code&gt;</td>
used inside template files html_title_( 'title of page' ); // print current
stored title html_title_(); // return stored title $title = html_title_(true);
&lt;/code&gt;</td>
</tr>
</table>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/api/source-class-Controller.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ <h3>Classes</h3>
</span></span><span id="12" class="l"><a class="l" href="#12"> 12: </a><span class="php-comment"> * By default all &lt;i&gt;paths&lt;/i&gt; used, must have a final slash '/', like &quot;/my/log/dir/&quot;.
</span></span><span id="13" class="l"><a class="l" href="#13"> 13: </a><span class="php-comment"> * @author Djalma Oliveira (djalmaoliveira@gmail.com)
</span></span><span id="14" class="l"><a class="l" href="#14"> 14: </a><span class="php-comment"> * @package liber
</span></span><span id="15" class="l"><a class="l" href="#15"> 15: </a><span class="php-comment"> * @version 2.1.11
</span></span><span id="15" class="l"><a class="l" href="#15"> 15: </a><span class="php-comment"> * @version 2.2.0
</span></span><span id="16" class="l"><a class="l" href="#16"> 16: </a><span class="php-comment"> * @since 1.0
</span></span><span id="17" class="l"><a class="l" href="#17"> 17: </a><span class="php-comment"> */</span>
</span><span id="18" class="l"><a class="l" href="#18"> 18: </a><span class="php-keyword1">class</span> <a id="Liber" href="#Liber">Liber</a> {
</span><span id="19" class="l"><a class="l" href="#19"> 19: </a>
</span><span id="20" class="l"><a class="l" href="#20"> 20: </a> <span class="php-comment">/**
</span></span><span id="21" class="l"><a class="l" href="#21"> 21: </a><span class="php-comment"> * Framework version
</span></span><span id="22" class="l"><a class="l" href="#22"> 22: </a><span class="php-comment"> */</span>
</span><span id="23" class="l"><a class="l" href="#23"> 23: </a> <span class="php-keyword1">const</span> <a id="VERSION" href="#VERSION">VERSION</a> = <span class="php-quote">'2.1.11'</span>;
</span><span id="23" class="l"><a class="l" href="#23"> 23: </a> <span class="php-keyword1">const</span> <a id="VERSION" href="#VERSION">VERSION</a> = <span class="php-quote">'2.2.0'</span>;
</span><span id="24" class="l"><a class="l" href="#24"> 24: </a>
</span><span id="25" class="l"><a class="l" href="#25"> 25: </a>
</span><span id="26" class="l"><a class="l" href="#26"> 26: </a> <span class="php-comment">/**
Expand Down
4 changes: 2 additions & 2 deletions docs/api/source-class-Liber.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ <h3>Classes</h3>
</span></span><span id="12" class="l"><a class="l" href="#12"> 12: </a><span class="php-comment"> * By default all &lt;i&gt;paths&lt;/i&gt; used, must have a final slash '/', like &quot;/my/log/dir/&quot;.
</span></span><span id="13" class="l"><a class="l" href="#13"> 13: </a><span class="php-comment"> * @author Djalma Oliveira (djalmaoliveira@gmail.com)
</span></span><span id="14" class="l"><a class="l" href="#14"> 14: </a><span class="php-comment"> * @package liber
</span></span><span id="15" class="l"><a class="l" href="#15"> 15: </a><span class="php-comment"> * @version 2.1.11
</span></span><span id="15" class="l"><a class="l" href="#15"> 15: </a><span class="php-comment"> * @version 2.2.0
</span></span><span id="16" class="l"><a class="l" href="#16"> 16: </a><span class="php-comment"> * @since 1.0
</span></span><span id="17" class="l"><a class="l" href="#17"> 17: </a><span class="php-comment"> */</span>
</span><span id="18" class="l"><a class="l" href="#18"> 18: </a><span class="php-keyword1">class</span> <a id="Liber" href="#Liber">Liber</a> {
</span><span id="19" class="l"><a class="l" href="#19"> 19: </a>
</span><span id="20" class="l"><a class="l" href="#20"> 20: </a> <span class="php-comment">/**
</span></span><span id="21" class="l"><a class="l" href="#21"> 21: </a><span class="php-comment"> * Framework version
</span></span><span id="22" class="l"><a class="l" href="#22"> 22: </a><span class="php-comment"> */</span>
</span><span id="23" class="l"><a class="l" href="#23"> 23: </a> <span class="php-keyword1">const</span> <a id="VERSION" href="#VERSION">VERSION</a> = <span class="php-quote">'2.1.11'</span>;
</span><span id="23" class="l"><a class="l" href="#23"> 23: </a> <span class="php-keyword1">const</span> <a id="VERSION" href="#VERSION">VERSION</a> = <span class="php-quote">'2.2.0'</span>;
</span><span id="24" class="l"><a class="l" href="#24"> 24: </a>
</span><span id="25" class="l"><a class="l" href="#25"> 25: </a>
</span><span id="26" class="l"><a class="l" href="#26"> 26: </a> <span class="php-comment">/**
Expand Down
Loading

0 comments on commit 0b2d540

Please sign in to comment.