|
@@ -106,12 +106,12 @@
|
|
|
<ul class="dropdown-menu">
|
|
|
<li>
|
|
|
<a href="../reports/errors.html">
|
|
|
- <i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">20</span>
|
|
|
+ <i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">19</span>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li>
|
|
|
<a href="../reports/markers.html">
|
|
|
- <i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">1</span>
|
|
|
+ <i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">1</span>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li>
|
|
@@ -136,10 +136,10 @@
|
|
|
<div class="accordion" style="margin-bottom: 0">
|
|
|
<div class="accordion-group">
|
|
|
<div class="accordion-heading">
|
|
|
- <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-254219717"></a>
|
|
|
+ <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1404791948"></a>
|
|
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
|
|
</div>
|
|
|
- <div id="namespace-254219717" class="accordion-body collapse in">
|
|
|
+ <div id="namespace-1404791948" class="accordion-body collapse in">
|
|
|
<div class="accordion-inner">
|
|
|
|
|
|
|
|
@@ -444,7 +444,9 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getRootDir"><span class="namespace-wrapper">\Pico::getRootDir()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -468,7 +470,9 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getConfigDir"><span class="namespace-wrapper">\Pico::getConfigDir()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -492,7 +496,9 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getPluginsDir"><span class="namespace-wrapper">\Pico::getPluginsDir()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -516,7 +522,9 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getThemesDir"><span class="namespace-wrapper">\Pico::getThemesDir()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -565,7 +573,7 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_loadPlugins"><span class="namespace-wrapper">\Pico::loadPlugins()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getPlugins"><span class="namespace-wrapper">\Pico::getPlugins()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -591,7 +599,7 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_loadConfig"><span class="namespace-wrapper">\Pico::loadConfig()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getConfig"><span class="namespace-wrapper">\Pico::getConfig()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -617,7 +625,7 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_evaluateRequestUrl"><span class="namespace-wrapper">\Pico::evaluateRequestUrl()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getRequestUrl"><span class="namespace-wrapper">\Pico::getRequestUrl()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -643,7 +651,7 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_discoverRequestFile"><span class="namespace-wrapper">\Pico::discoverRequestFile()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getRequestFile"><span class="namespace-wrapper">\Pico::getRequestFile()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -669,7 +677,7 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_loadFileContent"><span class="namespace-wrapper">\Pico::loadFileContent()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getRawContent"><span class="namespace-wrapper">\Pico::getRawContent()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -695,7 +703,7 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_parseFileMeta"><span class="namespace-wrapper">\Pico::parseFileMeta()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getFileMeta"><span class="namespace-wrapper">\Pico::getFileMeta()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -721,8 +729,7 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_prepareFileContent"><span class="namespace-wrapper">\Pico::prepareFileContent()</span></a></dd>
|
|
|
- <dd><a href="../classes/Pico.html#method_parseFileContent"><span class="namespace-wrapper">\Pico::parseFileContent()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getFileContent"><span class="namespace-wrapper">\Pico::getFileContent()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -748,7 +755,7 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_readPages"><span class="namespace-wrapper">\Pico::readPages()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getPages"><span class="namespace-wrapper">\Pico::getPages()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -774,7 +781,7 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_discoverCurrentPage"><span class="namespace-wrapper">\Pico::discoverCurrentPage()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getCurrentPage"><span class="namespace-wrapper">\Pico::getCurrentPage()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -800,7 +807,7 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_discoverCurrentPage"><span class="namespace-wrapper">\Pico::discoverCurrentPage()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getPreviousPage"><span class="namespace-wrapper">\Pico::getPreviousPage()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -826,7 +833,7 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_discoverCurrentPage"><span class="namespace-wrapper">\Pico::discoverCurrentPage()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getNextPage"><span class="namespace-wrapper">\Pico::getNextPage()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -852,7 +859,7 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_registerTwig"><span class="namespace-wrapper">\Pico::registerTwig()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getTwig"><span class="namespace-wrapper">\Pico::getTwig()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -877,7 +884,9 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href=""><span class="namespace-wrapper">\Pico::getTwigVariables</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -900,7 +909,7 @@ See <a href="http://picocms.org/">http://picocms.org/</a> for more info.</li>
|
|
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
<pre class="signature" style="margin-right: 54px;">__construct(string <span class="argument">$rootDir</span>, string <span class="argument">$configDir</span>, string <span class="argument">$pluginsDir</span>, string <span class="argument">$themesDir</span>) </pre>
|
|
|
<p><em>Constructs a new Pico instance</em></p>
|
|
|
- <p>To carry out all the processing in Pico, call the run() method.</p>
|
|
|
+ <p>To carry out all the processing in Pico, call <a href="/classes/Pico.html#method_run">Pico::run()</a>.</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
|
<table class="table table-condensed table-hover">
|
|
@@ -1125,6 +1134,7 @@ rely on it. For more information see <a href="/classes/PicoPluginInterface.html"
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
<dd><a href="../classes/Pico.html#method_loadPlugins"><span class="namespace-wrapper">\Pico::loadPlugins()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getPlugins"><span class="namespace-wrapper">\Pico::getPlugins()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -1155,6 +1165,7 @@ rely on it. For more information see <a href="/classes/PicoPluginInterface.html"
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
<dd><a href="../classes/Pico.html#method_loadPlugins"><span class="namespace-wrapper">\Pico::loadPlugins()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getPlugin"><span class="namespace-wrapper">\Pico::getPlugin()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -1173,17 +1184,17 @@ rely on it. For more information see <a href="/classes/PicoPluginInterface.html"
|
|
|
<p><em>Sets Picos config before calling Pico::run()</em></p>
|
|
|
<p>This method allows you to modify Picos config without creating a
|
|
|
{@path "config/config.php"} or changing some of its variables before
|
|
|
-Pico starts processing. It can only be called between the constructor
|
|
|
-call and Pico::run(). Options set with this method cannot be overwritten
|
|
|
-by {@path "config/config.php"}.</p>
|
|
|
+Pico starts processing.</p>
|
|
|
+<p>You can call this method between <a href="/classes/Pico.html#method___construct">Pico::__construct()</a> and
|
|
|
+<a href="/classes/Pico.html#method_run">Pico::run()</a> only. Options set with this method cannot be
|
|
|
+overwritten by {@path "config/config.php"}.</p>
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
|
<table class="table table-condensed table-hover">
|
|
|
<tr>
|
|
|
<td>array<mixed,mixed></td>
|
|
|
<td>$config </td>
|
|
|
- <td><p>array with configuration variables, like
|
|
|
-$config in {@path "config/config.php"}</p></td>
|
|
|
+ <td><p>array with config variables</p></td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
|
|
@@ -1199,7 +1210,10 @@ $config in {@path "config/config.php"}</p></td>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_loadConfig"><span class="namespace-wrapper">\Pico::loadConfig()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getConfig"><span class="namespace-wrapper">\Pico::getConfig()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -1240,7 +1254,8 @@ array if no config name was supplied</p>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_loadConfig"><span class="namespace-wrapper">\Pico::loadConfig()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_setConfig"><span class="namespace-wrapper">\Pico::setConfig()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_loadConfig"><span class="namespace-wrapper">\Pico::loadConfig()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -1340,7 +1355,9 @@ array if no config name was supplied</p>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getRawContent"><span class="namespace-wrapper">\Pico::getRawContent()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -1383,7 +1400,9 @@ up from the directory the requested file is in</em></p>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getRawContent"><span class="namespace-wrapper">\Pico::getRawContent()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -1398,7 +1417,7 @@ up from the directory the requested file is in</em></p>
|
|
|
<h3 class="public ">getRawContent()</h3>
|
|
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
<pre class="signature" style="margin-right: 54px;">getRawContent() : string|null</pre>
|
|
|
- <p><em>Returns the cached raw contents, either of the requested or the 404 file</em></p>
|
|
|
+ <p><em>Returns the raw contents, either of the requested or the 404 file</em></p>
|
|
|
|
|
|
|
|
|
|
|
@@ -1414,6 +1433,7 @@ up from the directory the requested file is in</em></p>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
<dd><a href="../classes/Pico.html#method_loadFileContent"><span class="namespace-wrapper">\Pico::loadFileContent()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_load404Content"><span class="namespace-wrapper">\Pico::load404Content()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -1463,7 +1483,7 @@ found value</p>
|
|
|
<pre class="signature" style="margin-right: 54px;">parseFileMeta(string <span class="argument">$rawContent</span>, array<mixed,string> <span class="argument">$headers</span>) : array</pre>
|
|
|
<p><em>Parses the file meta from raw file contents</em></p>
|
|
|
<p>Meta data MUST start on the first line of the file, either opened and
|
|
|
-closed by --- or C-style block comments (deprecated). The headers are
|
|
|
+closed by <code>---</code> or C-style block comments (deprecated). The headers are
|
|
|
parsed by the YAML component of the Symfony project, keys are lowered.
|
|
|
If you're a plugin developer, you MUST register new headers during the
|
|
|
<code>onMetaHeaders</code> event first. The implicit availability of headers is
|
|
@@ -1494,7 +1514,8 @@ for users and pure (!) theme developers ONLY.</p>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href=""><span class="namespace-wrapper">\<http://symfony.com/doc/current/components/yaml/introduction.html></span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getFileMeta"><span class="namespace-wrapper">\Pico::getFileMeta()</span></a></dd>
|
|
|
+ <dd><a href=""><span class="namespace-wrapper">\<http://symfony.com/doc/current/components/yaml/introduction.html></span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -1564,7 +1585,10 @@ e.g. removing the meta header and replacing %base_url%</em></p>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_parseFileContent"><span class="namespace-wrapper">\Pico::parseFileContent()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getFileContent"><span class="namespace-wrapper">\Pico::getFileContent()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -1601,7 +1625,10 @@ e.g. removing the meta header and replacing %base_url%</em></p>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_prepareFileContent"><span class="namespace-wrapper">\Pico::prepareFileContent()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getFileContent"><span class="namespace-wrapper">\Pico::getFileContent()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -1631,7 +1658,8 @@ e.g. removing the meta header and replacing %base_url%</em></p>
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
- <dd><a href="../classes/Pico.html#method_parseFileContent"><span class="namespace-wrapper">\Pico::parseFileContent()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_prepareFileContent"><span class="namespace-wrapper">\Pico::prepareFileContent()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_parseFileContent"><span class="namespace-wrapper">\Pico::parseFileContent()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -1663,6 +1691,7 @@ e.g. removing the meta header and replacing %base_url%</em></p>
|
|
|
<dl>
|
|
|
<dt>See also</dt>
|
|
|
<dd><a href="../classes/Pico.html#method_readPages"><span class="namespace-wrapper">\Pico::readPages()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_sortPages"><span class="namespace-wrapper">\Pico::sortPages()</span></a></dd>
|
|
|
</dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
@@ -1785,7 +1814,9 @@ e.g. removing the meta header and replacing %base_url%</em></p>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_registerTwig"><span class="namespace-wrapper">\Pico::registerTwig()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -1913,7 +1944,10 @@ to indicate their processing order. You MUST NOT use prefixes between
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getPlugin"><span class="namespace-wrapper">\Pico::getPlugin()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getPlugins"><span class="namespace-wrapper">\Pico::getPlugins()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -1939,7 +1973,10 @@ to indicate their processing order. You MUST NOT use prefixes between
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_setConfig"><span class="namespace-wrapper">\Pico::setConfig()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getConfig"><span class="namespace-wrapper">\Pico::getConfig()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -1955,14 +1992,14 @@ to indicate their processing order. You MUST NOT use prefixes between
|
|
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
<pre class="signature" style="margin-right: 54px;">evaluateRequestUrl() : void</pre>
|
|
|
<p><em>Evaluates the requested URL</em></p>
|
|
|
- <p>Pico 1.0 uses the QUERY_STRING routing method (e.g. /pico/?sub/page) to
|
|
|
-support SEO-like URLs out-of-the-box with any webserver. You can still
|
|
|
-setup URL rewriting (e.g. using mod_rewrite on Apache) to basically
|
|
|
-remove the <code>?</code> from URLs, but your rewritten URLs must follow the
|
|
|
-new QUERY_STRING principles. URL rewriting requires some special
|
|
|
+ <p>Pico 1.0 uses the <code>QUERY_STRING</code> routing method (e.g. <code>/pico/?sub/page</code>)
|
|
|
+to support SEO-like URLs out-of-the-box with any webserver. You can
|
|
|
+still setup URL rewriting (e.g. using <code>mod_rewrite</code> on Apache) to
|
|
|
+basically remove the <code>?</code> from URLs, but your rewritten URLs must follow
|
|
|
+the new <code>QUERY_STRING</code> principles. URL rewriting requires some special
|
|
|
configuration on your webserver, but this should be "basic work" for
|
|
|
any webmaster...</p>
|
|
|
-<p>Pico 0.9 and older required Apache with mod_rewrite enabled, thus old
|
|
|
+<p>Pico 0.9 and older required Apache with <code>mod_rewrite</code> enabled, thus old
|
|
|
plugins, templates and contents may require you to enable URL rewriting
|
|
|
to work. If you're upgrading from Pico 0.9, you will probably have to
|
|
|
update your rewriting rules.</p>
|
|
@@ -1980,7 +2017,9 @@ replaced accordingly.</p>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getRequestUrl"><span class="namespace-wrapper">\Pico::getRequestUrl()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -2006,7 +2045,9 @@ replaced accordingly.</p>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getRequestFile"><span class="namespace-wrapper">\Pico::getRequestFile()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -2022,21 +2063,23 @@ replaced accordingly.</p>
|
|
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
<pre class="signature" style="margin-right: 54px;">readPages() : void</pre>
|
|
|
<p><em>Reads the data of all pages known to Pico</em></p>
|
|
|
- <p>The page data will be an array containing the following values:
|
|
|
-+----------------+------------------------------------------+
|
|
|
-| Array key | Description |
|
|
|
-+----------------+------------------------------------------+
|
|
|
-| id | relative path to the content file |
|
|
|
-| url | URL to the page |
|
|
|
-| title | title of the page (YAML header) |
|
|
|
-| description | description of the page (YAML header) |
|
|
|
-| author | author of the page (YAML header) |
|
|
|
-| time | timestamp derived from the Date header |
|
|
|
-| date | date of the page (YAML header) |
|
|
|
-| date_formatted | formatted date of the page |
|
|
|
-| raw_content | raw, not yet parsed contents of the page |
|
|
|
-| meta | parsed meta data of the page) |
|
|
|
-+----------------+------------------------------------------+</p>
|
|
|
+ <p>The page data will be an array containing the following values:</p>
|
|
|
+<pre>
|
|
|
++----------------+--------+------------------------------------------+
|
|
|
+| Array key | Type | Description |
|
|
|
++----------------+--------+------------------------------------------+
|
|
|
+| id | string | relative path to the content file |
|
|
|
+| url | string | URL to the page |
|
|
|
+| title | string | title of the page (YAML header) |
|
|
|
+| description | string | description of the page (YAML header) |
|
|
|
+| author | string | author of the page (YAML header) |
|
|
|
+| time | string | timestamp derived from the Date header |
|
|
|
+| date | string | date of the page (YAML header) |
|
|
|
+| date_formatted | string | formatted date of the page |
|
|
|
+| raw_content | string | raw, not yet parsed contents of the page |
|
|
|
+| meta | string | parsed meta data of the page |
|
|
|
++----------------+--------+------------------------------------------+
|
|
|
+</pre>
|
|
|
|
|
|
|
|
|
|
|
@@ -2046,7 +2089,10 @@ replaced accordingly.</p>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_sortPages"><span class="namespace-wrapper">\Pico::sortPages()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getPages"><span class="namespace-wrapper">\Pico::getPages()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -2072,7 +2118,10 @@ replaced accordingly.</p>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_readPages"><span class="namespace-wrapper">\Pico::readPages()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getPages"><span class="namespace-wrapper">\Pico::getPages()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -2099,7 +2148,11 @@ as well as the previous and next page relative to it</em></p>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getCurrentPage"><span class="namespace-wrapper">\Pico::getCurrentPage()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getPreviousPage"><span class="namespace-wrapper">\Pico::getPreviousPage()</span></a></dd>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getNextPage"><span class="namespace-wrapper">\Pico::getNextPage()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -2125,7 +2178,9 @@ as well as the previous and next page relative to it</em></p>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/Pico.html#method_getTwig"><span class="namespace-wrapper">\Pico::getTwig()</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -2141,8 +2196,8 @@ as well as the previous and next page relative to it</em></p>
|
|
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
<pre class="signature" style="margin-right: 54px;">getTwigVariables() : array<mixed,mixed></pre>
|
|
|
<p><em>Returns the variables passed to the template</em></p>
|
|
|
- <p>URLs and paths (namely base_dir, base_url, theme_dir and theme_url)
|
|
|
-don't add a trailing slash for historic reasons.</p>
|
|
|
+ <p>URLs and paths (namely <code>base_dir</code>, <code>base_url</code>, <code>theme_dir</code> and
|
|
|
+<code>theme_url</code>) don't add a trailing slash for historic reasons.</p>
|
|
|
|
|
|
|
|
|
|
|
@@ -2259,7 +2314,7 @@ or Pico::SORT_NONE to leave the result unsorted</p></td>
|
|
|
<h3 class="protected ">triggerEvent()</h3>
|
|
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
<pre class="signature" style="margin-right: 54px;">triggerEvent(string <span class="argument">$eventName</span>, array <span class="argument">$params = array()</span>) : void</pre>
|
|
|
- <p><em>Triggers events on plugins which implement {@link PicoPluginInterface}</em></p>
|
|
|
+ <p><em>Triggers events on plugins which implement PicoPluginInterface</em></p>
|
|
|
<p>Deprecated events (as used by plugins not implementing
|
|
|
\IPocPlugin) are triggered by \PicoDeprecated.</p>
|
|
|
|
|
@@ -2284,7 +2339,11 @@ or Pico::SORT_NONE to leave the result unsorted</p></td>
|
|
|
<aside class="span4 detailsbar">
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
<dl>
|
|
|
- </dl>
|
|
|
+ <dt>See also</dt>
|
|
|
+ <dd><a href="../classes/PicoPluginInterface.html"><span class="namespace-wrapper">\PicoPluginInterface</span></a></dd>
|
|
|
+ <dd><a href="../classes/AbstractPicoPlugin.html"><span class="namespace-wrapper">\AbstractPicoPlugin</span></a></dd>
|
|
|
+ <dd><a href="../classes/DummyPlugin.html"><span class="namespace-wrapper">\DummyPlugin</span></a></dd>
|
|
|
+ </dl>
|
|
|
<h2>Tags</h2>
|
|
|
<table class="table table-condensed">
|
|
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
|
@@ -2341,7 +2400,7 @@ or Pico::SORT_NONE to leave the result unsorted</p></td>
|
|
|
<section class="span10 offset1">
|
|
|
<hr />
|
|
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
|
|
- on October 27th, 2015 at 02:57.
|
|
|
+ on October 29th, 2015 at 18:14.
|
|
|
</section>
|
|
|
</section>
|
|
|
</section>
|