aboutsummaryrefslogtreecommitdiffstats
path: root/doc/html/classApp.html
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-10 03:52:06 -0700
committerfriendica <info@friendica.com>2013-05-10 03:52:06 -0700
commit946554ff4b03d81f32375832b8b50883a3ffeedf (patch)
tree3f742a59984bbd5782d68240e7ccf95c41412d04 /doc/html/classApp.html
parent6f7e002922c33ef7c3a7182500415119f1c41a38 (diff)
downloadvolse-hubzilla-946554ff4b03d81f32375832b8b50883a3ffeedf.tar.gz
volse-hubzilla-946554ff4b03d81f32375832b8b50883a3ffeedf.tar.bz2
volse-hubzilla-946554ff4b03d81f32375832b8b50883a3ffeedf.zip
doc update
Diffstat (limited to 'doc/html/classApp.html')
-rw-r--r--doc/html/classApp.html119
1 files changed, 106 insertions, 13 deletions
diff --git a/doc/html/classApp.html b/doc/html/classApp.html
index 28a9d694c..4423ea646 100644
--- a/doc/html/classApp.html
+++ b/doc/html/classApp.html
@@ -173,14 +173,18 @@ Public Member Functions</h2></td></tr>
<tr class="separator:a9632092d9e8fdaa82a9fc4586433fd31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abaf2173711e861ae4aebf43a7f70157e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApp.html#abaf2173711e861ae4aebf43a7f70157e">get_curl_headers</a> ()</td></tr>
<tr class="separator:abaf2173711e861ae4aebf43a7f70157e"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:abf46a653d8499e7c253cc1be894a6d83"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApp.html#abf46a653d8499e7c253cc1be894a6d83">register_template_engine</a> ($class, $name= '')</td></tr>
+<tr class="separator:abf46a653d8499e7c253cc1be894a6d83"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a94a1ed2dc493c58612d17035b74ae736"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApp.html#a94a1ed2dc493c58612d17035b74ae736">template_engine</a> ($name= '')</td></tr>
+<tr class="separator:a94a1ed2dc493c58612d17035b74ae736"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb27e607fe4c82603444676e25c36b70"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApp.html#acb27e607fe4c82603444676e25c36b70">get_template_engine</a> ()</td></tr>
<tr class="separator:acb27e607fe4c82603444676e25c36b70"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a325f05bdc15d1b341044b389b21cd195"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApp.html#a325f05bdc15d1b341044b389b21cd195">set_template_engine</a> ($engine= 'internal')</td></tr>
-<tr class="separator:a325f05bdc15d1b341044b389b21cd195"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:ad2eff1f9335d607846e39e8c63b88b51"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApp.html#ad2eff1f9335d607846e39e8c63b88b51">get_template_ldelim</a> ($engine= 'internal')</td></tr>
-<tr class="separator:ad2eff1f9335d607846e39e8c63b88b51"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a9e1856f714ac5755798fd7a2fa035e42"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApp.html#a9e1856f714ac5755798fd7a2fa035e42">get_template_rdelim</a> ($engine= 'internal')</td></tr>
-<tr class="separator:a9e1856f714ac5755798fd7a2fa035e42"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a20d1890cc16b22ba79eeb0cbf2f719f7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApp.html#a20d1890cc16b22ba79eeb0cbf2f719f7">set_template_engine</a> ($engine= 'smarty3')</td></tr>
+<tr class="separator:a20d1890cc16b22ba79eeb0cbf2f719f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a2eb832a8577dee7d40b93abdf6d1d35a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApp.html#a2eb832a8577dee7d40b93abdf6d1d35a">get_template_ldelim</a> ($engine= 'smarty3')</td></tr>
+<tr class="separator:a2eb832a8577dee7d40b93abdf6d1d35a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aab23c59172310fd30f2d60dc039d3eea"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApp.html#aab23c59172310fd30f2d60dc039d3eea">get_template_rdelim</a> ($engine= 'smarty3')</td></tr>
+<tr class="separator:aab23c59172310fd30f2d60dc039d3eea"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
@@ -260,6 +264,10 @@ Public Attributes</h2></td></tr>
<tr class="separator:ae3f47830543d0d902f66913def8db66b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a487332f8de40414ca1a54a4265570b70"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApp.html#a487332f8de40414ca1a54a4265570b70">$theme_thread_allow</a> = true</td></tr>
<tr class="separator:a487332f8de40414ca1a54a4265570b70"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a6859a4848a5c0049b4134cc4b34228b6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApp.html#a6859a4848a5c0049b4134cc4b34228b6">$template_engines</a> = array()</td></tr>
+<tr class="separator:a6859a4848a5c0049b4134cc4b34228b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a6844aedad10e201b8c3d80cfc9e876d3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classApp.html#a6844aedad10e201b8c3d80cfc9e876d3">$template_engine_instance</a> = array()</td></tr>
+<tr class="separator:a6844aedad10e201b8c3d80cfc9e876d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
@@ -317,6 +325,7 @@ Private Attributes</h2></td></tr>
<p>There will always be one argument. If provided a naked domain URL, $this-&gt;argv[0] is set to "home".</p>
<p>See if there is any page number information, and initialise pagination</p>
<p>Detect mobile devices</p>
+<p>register template engines</p>
</div>
</div>
@@ -519,7 +528,7 @@ Private Attributes</h2></td></tr>
</div>
</div>
-<a class="anchor" id="ad2eff1f9335d607846e39e8c63b88b51"></a>
+<a class="anchor" id="a2eb832a8577dee7d40b93abdf6d1d35a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
@@ -527,7 +536,7 @@ Private Attributes</h2></td></tr>
<td class="memname">App::get_template_ldelim </td>
<td>(</td>
<td class="paramtype">&#160;</td>
- <td class="paramname"><em>$engine</em> = <code>'internal'</code></td><td>)</td>
+ <td class="paramname"><em>$engine</em> = <code>'smarty3'</code></td><td>)</td>
<td></td>
</tr>
</table>
@@ -535,7 +544,7 @@ Private Attributes</h2></td></tr>
</div>
</div>
-<a class="anchor" id="a9e1856f714ac5755798fd7a2fa035e42"></a>
+<a class="anchor" id="aab23c59172310fd30f2d60dc039d3eea"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
@@ -543,7 +552,7 @@ Private Attributes</h2></td></tr>
<td class="memname">App::get_template_rdelim </td>
<td>(</td>
<td class="paramtype">&#160;</td>
- <td class="paramname"><em>$engine</em> = <code>'internal'</code></td><td>)</td>
+ <td class="paramname"><em>$engine</em> = <code>'smarty3'</code></td><td>)</td>
<td></td>
</tr>
</table>
@@ -567,6 +576,42 @@ Private Attributes</h2></td></tr>
</div>
</div>
+<a class="anchor" id="abf46a653d8499e7c253cc1be894a6d83"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">App::register_template_engine </td>
+ <td>(</td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$class</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$name</em> = <code>''</code>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>register template engine class if $name is "", is used class static property $class::$name </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramtype">string</td><td class="paramname">$class</td><td></td></tr>
+ <tr><td class="paramtype">string</td><td class="paramname">$name</td><td></td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p>Referenced by <a class="el" href="classApp.html#af6d39f63fb7116bbeb04e51696f99474">__construct()</a>.</p>
+
+</div>
+</div>
<a class="anchor" id="a5c83c957ada53e170901e3c025080862"></a>
<div class="memitem">
<div class="memproto">
@@ -775,7 +820,7 @@ Private Attributes</h2></td></tr>
</div>
</div>
-<a class="anchor" id="a325f05bdc15d1b341044b389b21cd195"></a>
+<a class="anchor" id="a20d1890cc16b22ba79eeb0cbf2f719f7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
@@ -783,7 +828,7 @@ Private Attributes</h2></td></tr>
<td class="memname">App::set_template_engine </td>
<td>(</td>
<td class="paramtype">&#160;</td>
- <td class="paramname"><em>$engine</em> = <code>'internal'</code></td><td>)</td>
+ <td class="paramname"><em>$engine</em> = <code>'smarty3'</code></td><td>)</td>
<td></td>
</tr>
</table>
@@ -823,6 +868,30 @@ Private Attributes</h2></td></tr>
</div>
</div>
+<a class="anchor" id="a94a1ed2dc493c58612d17035b74ae736"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">App::template_engine </td>
+ <td>(</td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$name</em> = <code>''</code></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>return template engine instance. If $name is not defined, return engine defined by theme, or default</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramtype">strin</td><td class="paramname">$name</td><td><a class="el" href="classTemplate.html">Template</a> engine name </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>object <a class="el" href="classTemplate.html">Template</a> Engine instance </dd></dl>
+
+</div>
+</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a14bd4b1c29f3aff371fe5d4cb11aeea3"></a>
<div class="memitem">
@@ -1500,6 +1569,30 @@ Private Attributes</h2></td></tr>
</div>
</div>
+<a class="anchor" id="a6844aedad10e201b8c3d80cfc9e876d3"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">App::$template_engine_instance = array()</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="a6859a4848a5c0049b4134cc4b34228b6"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">App::$template_engines = array()</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
<a class="anchor" id="a764cc6cd7578132c21d2b4545de9301c"></a>
<div class="memitem">
<div class="memproto">
@@ -1524,7 +1617,7 @@ Private Attributes</h2></td></tr>
<div class="line"> <span class="stringliteral">&#39;force_max_items&#39;</span> =&gt; 0,</div>
<div class="line"> <span class="stringliteral">&#39;thread_allow&#39;</span> =&gt; <span class="keyword">true</span>,</div>
<div class="line"> <span class="stringliteral">&#39;stylesheet&#39;</span> =&gt; <span class="stringliteral">&#39;&#39;</span>,</div>
-<div class="line"> <span class="stringliteral">&#39;template_engine&#39;</span> =&gt; <span class="stringliteral">&#39;internal&#39;</span>,</div>
+<div class="line"> <span class="stringliteral">&#39;template_engine&#39;</span> =&gt; <span class="stringliteral">&#39;smarty3&#39;</span>,</div>
<div class="line"> )</div>
</div><!-- fragment -->
</div>