View sourcecode

The following files exists in this folder. Click to view.

markers.html

1 lines ASCII Unix (LF)
1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <meta charset="utf-8"/>
    <title>     &raquo; Markers
</title>
    <meta name="author" content=""/>
    <meta name="description" content=""/>

    <link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
    <link href="../css/font-awesome.min.css" rel="stylesheet">
    <link href="../css/prism.css" rel="stylesheet" media="all"/>
    <link href="../css/template.css" rel="stylesheet" media="all"/>
    
    <!--[if lt IE 9]>
    <script src="../js/html5.js"></script>
    <![endif]-->
    <script src="../js/jquery-1.11.0.min.js"></script>
    <script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
    <script src="../js/jquery.smooth-scroll.js"></script>
    <script src="../js/prism.min.js"></script>
    <!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
    
    <link rel="shortcut icon" href="../images/favicon.ico"/>
    <link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
    <link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
    <link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
</head>
<body>

<div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                <i class="icon-ellipsis-vertical"></i>
            </a>
            <a class="brand" href="../index.html">Anax-MVC API Documentaion</a>

            <div class="nav-collapse">
                <ul class="nav pull-right">
                                        <li class="dropdown">
                        <a href="../index.html" class="dropdown-toggle" data-toggle="dropdown">
                            API Documentation <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                                                        <li><a href="../namespaces/Anax.html">\Anax</a></li>
                                                    </ul>
                    </li>
                                        <li class="dropdown" id="charts-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            Charts <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                            <li>
                                <a href="../graphs/class.html">
                                    <i class="icon-list-alt"></i>&#160;Class hierarchy diagram
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="dropdown" id="reports-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            Reports <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                            <li>
                                <a href="../reports/errors.html">
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">88</span>
                                </a>
                            </li>
                            <li>
                                <a href="../reports/markers.html">
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">156</span>
                                </a>
                            </li>
                            <li>
                                <a href="../reports/deprecated.html">
                                                                                                            <i class="icon-list-alt"></i>&#160;Deprecated <span class="label label-info pull-right">0</span>
                                </a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!--<div class="go_to_top">-->
    <!--<a href="#___" style="color: inherit">Back to top&#160;&#160;<i class="icon-upload icon-white"></i></a>-->
    <!--</div>-->
</div>

<div id="___" class="container-fluid">
        <section class="row-fluid">
        <div class="span2 sidebar">
            <ul class="side-nav nav nav-list">
                <li class="nav-header">Navigation</li>
                                                                                                                                <li><a href="#Loader/CPsr4Autoloader.php"><i class="icon-file"></i> Loader/CPsr4Autoloader.php</a></li>
                                                                                                <li><a href="#Log/CLogger.php"><i class="icon-file"></i> Log/CLogger.php</a></li>
                                                                                                                                                        <li><a href="#TConfigure.php"><i class="icon-file"></i> TConfigure.php</a></li>
                                                                                                <li><a href="#View/CViewContainerBasic.php"><i class="icon-file"></i> View/CViewContainerBasic.php</a></li>
                                                                                                <li><a href="#View/CViewBasic.php"><i class="icon-file"></i> View/CViewBasic.php</a></li>
                                                                                                                                                                                                                                                                        <li><a href="#DI/TInjectable.php"><i class="icon-file"></i> DI/TInjectable.php</a></li>
                                                                                                <li><a href="#DI/CDI.php"><i class="icon-file"></i> DI/CDI.php</a></li>
                                                                                                <li><a href="#MVC/CDispatcherBasic.php"><i class="icon-file"></i> MVC/CDispatcherBasic.php</a></li>
                                                                                                <li><a href="#HTMLForm/FormController.php"><i class="icon-file"></i> HTMLForm/FormController.php</a></li>
                                                                                                                                                        <li><a href="#MVC/ErrorController.php"><i class="icon-file"></i> MVC/ErrorController.php</a></li>
                                                                                                                                                                                                                                                                        <li><a href="#DI/TInjectionAware.php"><i class="icon-file"></i> DI/TInjectionAware.php</a></li>
                                                                                                <li><a href="#ThemeEngine/CThemeBasic.php"><i class="icon-file"></i> ThemeEngine/CThemeBasic.php</a></li>
                                                                                                                                                                                                                                                                        <li><a href="#Response/CResponseBasic.php"><i class="icon-file"></i> Response/CResponseBasic.php</a></li>
                                                                                                <li><a href="#DI/CDIArray.php"><i class="icon-file"></i> DI/CDIArray.php</a></li>
                                                                                                <li><a href="#Request/CRequestBasic.php"><i class="icon-file"></i> Request/CRequestBasic.php</a></li>
                                                                                                                                                                                                                                                                                                                                                                                        <li><a href="#Route/CRouteBasic.php"><i class="icon-file"></i> Route/CRouteBasic.php</a></li>
                                                                                                <li><a href="#Navigation/CNavbar.php"><i class="icon-file"></i> Navigation/CNavbar.php</a></li>
                                                                                                <li><a href="#functions.php"><i class="icon-file"></i> functions.php</a></li>
                                                                                                                                                                                                                                                                        <li><a href="#Route/CRouterBasic.php"><i class="icon-file"></i> Route/CRouterBasic.php</a></li>
                                                                                                                                                        <li><a href="#autoload.php"><i class="icon-file"></i> autoload.php</a></li>
                                                                                                <li><a href="#Url/CUrl.php"><i class="icon-file"></i> Url/CUrl.php</a></li>
                                                                                                                                                        <li><a href="#Content/CTextFilter.php"><i class="icon-file"></i> Content/CTextFilter.php</a></li>
                                                                    </ul>
        </div>

        <div class="span10 offset2">

            <ul class="breadcrumb">
                <li><a href="../"><i class="icon-map-marker"></i></a><span class="divider">\</span></li>
                <li>Markers</li>
            </ul>

            
            <div id="marker-accordion">
                                                                                                <div class="package-contents">
                            <a name="Loader/CPsr4Autoloader.php" id="Loader/CPsr4Autoloader.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                Loader/CPsr4Autoloader.php
                                <small style="float: right;padding-right: 10px;">26</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>26</td>
                                            <td>instantiate the loader</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>29</td>
                                            <td>register the autoloader</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>32</td>
                                            <td>register the base directories for the namespace prefix</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>48</td>
                                            <td>github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader-examples.md</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>91</td>
                                            <td>normalize namespace prefix</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>94</td>
                                            <td>normalize the base directory with a trailing separator</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>98</td>
                                            <td>initialize the namespace prefix array</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>103</td>
                                            <td>retain the base directory for the namespace prefix</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>124</td>
                                            <td>the current namespace prefix</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>127</td>
                                            <td>work backwards through the namespace names of the fully-qualified</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>128</td>
                                            <td>class name to find a mapped file name</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>132</td>
                                            <td>retain the trailing namespace separator in the prefix</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>135</td>
                                            <td>the rest is the relative class name</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>138</td>
                                            <td>try to load a mapped file for the prefix and relative class</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>145</td>
                                            <td>remove the trailing namespace separator for the next iteration</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>146</td>
                                            <td>of strrpos()</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>150</td>
                                            <td>try to load a mapped file for the default prefix and relative class</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>156</td>
                                            <td>never found a mapped file</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>173</td>
                                            <td>are there any base directories for this namespace prefix?</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>178</td>
                                            <td>look through base directories for this namespace prefix</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>180</td>
                                            <td>replace the namespace prefix with the base directory,</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>181</td>
                                            <td>replace namespace separators with directory separators</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>182</td>
                                            <td>in the relative class name, append with .php</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>190</td>
                                            <td>if the mapped file exists, require it</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>192</td>
                                            <td>yes, we&#039;re done</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>197</td>
                                            <td>never found it</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                <div class="package-contents">
                            <a name="Log/CLogger.php" id="Log/CLogger.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                Log/CLogger.php
                                <small style="float: right;padding-right: 10px;">5</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>17</td>
                                            <td>github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>42</td>
                                            <td>production, development or debug</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>61</td>
                                            <td>Report all type of errors</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>62</td>
                                            <td>Display all errors </td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>63</td>
                                            <td>Do not buffer output</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                                                    <div class="package-contents">
                            <a name="TConfigure.php" id="TConfigure.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                TConfigure.php
                                <small style="float: right;padding-right: 10px;">1</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>16</td>
                                            <td>Store all config as an array</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                <div class="package-contents">
                            <a name="View/CViewContainerBasic.php" id="View/CViewContainerBasic.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                View/CViewContainerBasic.php
                                <small style="float: right;padding-right: 10px;">3</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>19</td>
                                            <td>Array for all views</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>20</td>
                                            <td>Template file suffix</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>21</td>
                                            <td>Base path for views</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                <div class="package-contents">
                            <a name="View/CViewBasic.php" id="View/CViewBasic.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                View/CViewBasic.php
                                <small style="float: right;padding-right: 10px;">4</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>19</td>
                                            <td>Template file or array</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>20</td>
                                            <td>Data to send to template file</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>21</td>
                                            <td>For sorting views</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>22</td>
                                            <td>Type of view</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                                                                                                                            <div class="package-contents">
                            <a name="DI/TInjectable.php" id="DI/TInjectable.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                DI/TInjectable.php
                                <small style="float: right;padding-right: 10px;">1</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>15</td>
                                            <td>the service container</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                <div class="package-contents">
                            <a name="DI/CDI.php" id="DI/CDI.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                DI/CDI.php
                                <small style="float: right;padding-right: 10px;">7</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>17</td>
                                            <td>Store all lazy loaded services, ready to be instantiated</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>18</td>
                                            <td>A service is instantiated into this array, once its accessed</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>103</td>
                                            <td>Is the service active?</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>111</td>
                                            <td>Is the service loaded?</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>181</td>
                                            <td>Load by calling a function</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>191</td>
                                            <td>Load by pre-instantiated object</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>195</td>
                                            <td>Load by creating a new object from class-string</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                <div class="package-contents">
                            <a name="MVC/CDispatcherBasic.php" id="MVC/CDispatcherBasic.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                MVC/CDispatcherBasic.php
                                <small style="float: right;padding-right: 10px;">5</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>19</td>
                                            <td>Name of controller</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>20</td>
                                            <td>Actual controller</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>21</td>
                                            <td>Name of action</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>22</td>
                                            <td>Params</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>144</td>
                                            <td>$isCallable = is_callable($handler);</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                <div class="package-contents">
                            <a name="HTMLForm/FormController.php" id="HTMLForm/FormController.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                HTMLForm/FormController.php
                                <small style="float: right;padding-right: 10px;">2</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>22</td>
                                            <td>Will load the session service which also starts the session</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>52</td>
                                            <td>Check the status of the form</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                                                    <div class="package-contents">
                            <a name="MVC/ErrorController.php" id="MVC/ErrorController.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                MVC/ErrorController.php
                                <small style="float: right;padding-right: 10px;">1</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>32</td>
                                            <td>Key being integer also (unintentionally) prevents this action from direct url usage</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                                                                                                                            <div class="package-contents">
                            <a name="DI/TInjectionAware.php" id="DI/TInjectionAware.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                DI/TInjectionAware.php
                                <small style="float: right;padding-right: 10px;">1</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>15</td>
                                            <td>the service container </td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                <div class="package-contents">
                            <a name="ThemeEngine/CThemeBasic.php" id="ThemeEngine/CThemeBasic.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                ThemeEngine/CThemeBasic.php
                                <small style="float: right;padding-right: 10px;">6</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>20</td>
                                            <td>Array with variables to provide to template files.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>126</td>
                                            <td>Prepare details</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>132</td>
                                            <td>Include theme specific functions file</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>138</td>
                                            <td>Create views for regions, from config-file</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>145</td>
                                            <td>Sen response headers, if any.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>148</td>
                                            <td>Create a view to execute the default template file</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                                                                                                                            <div class="package-contents">
                            <a name="Response/CResponseBasic.php" id="Response/CResponseBasic.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                Response/CResponseBasic.php
                                <small style="float: right;padding-right: 10px;">1</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>17</td>
                                            <td>Set all headers to send</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                <div class="package-contents">
                            <a name="DI/CDIArray.php" id="DI/CDIArray.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                DI/CDIArray.php
                                <small style="float: right;padding-right: 10px;">1</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>15</td>
                                            <td>Store all configuration options here</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                <div class="package-contents">
                            <a name="Request/CRequestBasic.php" id="Request/CRequestBasic.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                Request/CRequestBasic.php
                                <small style="float: right;padding-right: 10px;">20</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>17</td>
                                            <td>Request URI from $_SERVER</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>18</td>
                                            <td>Scriptname from $_SERVER, actual scriptname part</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>19</td>
                                            <td>Scriptname from $_SERVER, path-part</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>21</td>
                                            <td>The route</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>22</td>
                                            <td>The route as an array</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>25</td>
                                            <td>Current url</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>26</td>
                                            <td>Url to this site, http://dbwebb.se</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>27</td>
                                            <td>Url to root dir, siteUrl . /some/installation/directory/</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>29</td>
                                            <td>Mapped to $_SERVER</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>30</td>
                                            <td>Mapped to $_GET</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>31</td>
                                            <td>Mapped to $_POST</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>75</td>
                                            <td>The route and its parts</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>78</td>
                                            <td>Prepare to create siteUrl and baseUrl by using currentUrl</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>81</td>
                                            <td>{$parts[&#039;host&#039;]}&quot; . (isset($parts[&#039;port&#039;])</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>163</td>
                                            <td>Compare REQUEST_URI and SCRIPT_NAME as long they match,</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>164</td>
                                            <td>leave the rest as current request.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>174</td>
                                            <td>Does the request start with script-name - remove it.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>184</td>
                                            <td>Remove the ?-part from the query when analysing controller/metod/arg1/arg2</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>194</td>
                                            <td>var_dump($route);</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>221</td>
                                            <td>&#039;;</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                                                                                                                                                                                                    <div class="package-contents">
                            <a name="Route/CRouteBasic.php" id="Route/CRouteBasic.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                Route/CRouteBasic.php
                                <small style="float: right;padding-right: 10px;">3</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>16</td>
                                            <td>A name for this route</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>17</td>
                                            <td>The rule for this route</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>18</td>
                                            <td>The controller action to handle this route</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                <div class="package-contents">
                            <a name="Navigation/CNavbar.php" id="Navigation/CNavbar.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                Navigation/CNavbar.php
                                <small style="float: right;padding-right: 10px;">14</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>22</td>
                                            <td>dbwebb.se/coachen/skapa-en-dynamisk-navbar-meny-med-undermeny-via-php</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>26</td>
                                            <td>Keep default options in an array and merge with incoming options that can override the defaults.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>37</td>
                                            <td>Create the ul li menu from the array, use an anonomous recursive function that returns an</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>38</td>
                                            <td>array of values.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>46</td>
                                            <td>has submenu, call recursivly and keep track on if the submenu has a selected item in it.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>57</td>
                                            <td>Check if the current menuitem is selected</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>62</td>
                                            <td>Check if the menuitem is a parent of current page, /controller for /controller/action</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>70</td>
                                            <td>Is there a class set for this item, then use it</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>75</td>
                                            <td>Prepare the class-attribute, if used</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>80</td>
                                            <td>Add the menu item</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>84</td>
                                            <td>To remember there is selected children when going up the menu hierarchy</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>90</td>
                                            <td>Return the menu</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>94</td>
                                            <td>Call the anonomous function to create the menu, and submenues if any.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>98</td>
                                            <td>Set the id &amp; class element, only if it exists in the menu-array</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                <div class="package-contents">
                            <a name="functions.php" id="functions.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                functions.php
                                <small style="float: right;padding-right: 10px;">7</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>25</td>
                                            <td>www.php.net/manual/en/function.usort.php#38827</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>35</td>
                                            <td>Arrays of size &lt; 2 require no action.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>37</td>
                                            <td>Split the array in half</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>41</td>
                                            <td>Recurse to sort the two halves</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>44</td>
                                            <td>If all of $array1 is &lt;= all of $array2, just append them.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>49</td>
                                            <td>Merge the two sorted arrays into a single sorted array</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>59</td>
                                            <td>Merge the remainder</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                                                                                                                            <div class="package-contents">
                            <a name="Route/CRouterBasic.php" id="Route/CRouterBasic.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                Route/CRouterBasic.php
                                <small style="float: right;padding-right: 10px;">9</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>19</td>
                                            <td>All the routes</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>20</td>
                                            <td>All internal routes</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>21</td>
                                            <td>A default rout to catch all</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>39</td>
                                            <td>Set as default route</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>99</td>
                                            <td>Match predefined routes</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>106</td>
                                            <td>Default handling route as :controller/:action/:params using the dispatcher</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>127</td>
                                            <td>Use the &quot;catch-all&quot; route</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>132</td>
                                            <td>No route was matched</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>137</td>
                                            <td>Exception codes can match a route for a http status code</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                                                    <div class="package-contents">
                            <a name="autoload.php" id="autoload.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                autoload.php
                                <small style="float: right;padding-right: 10px;">12</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>22</td>
                                            <td>Maybe just use the CLoader-class and put loader code into it?</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>29</td>
                                            <td>www.php-fig.org/psr/psr-0/</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>57</td>
                                            <td>www.php-fig.org/psr/psr-4/</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>63</td>
                                            <td>project-specific namespace prefix</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>66</td>
                                            <td>base directory for the namespace prefix</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>69</td>
                                            <td>does the class use the namespace prefix?</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>72</td>
                                            <td>no, move to the next registered autoloader</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>76</td>
                                            <td>get the relative class name</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>79</td>
                                            <td>replace the namespace prefix with the base directory, replace namespace</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>80</td>
                                            <td>separators with directory separators in the relative class name, append</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>81</td>
                                            <td>with .php</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>84</td>
                                            <td>if the file exists, require it</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                <div class="package-contents">
                            <a name="Url/CUrl.php" id="Url/CUrl.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                Url/CUrl.php
                                <small style="float: right;padding-right: 10px;">20</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>16</td>
                                            <td>controller/action/param1/param2</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>17</td>
                                            <td>index.php/controller/action/param1/param2</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>19</td>
                                            <td>What type of urls to generate</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>21</td>
                                            <td>Siteurl to prepend to all absolute urls created</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>22</td>
                                            <td>Baseurl to prepend to all relative urls created</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>23</td>
                                            <td>Name of the frontcontroller script</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>26</td>
                                            <td>Siteurl to prepend to all absolute urls for assets</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>27</td>
                                            <td>Baseurl to prepend to all relative urls for assets</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>43</td>
                                            <td>Empty uri means baseurl</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>49</td>
                                            <td>&quot; || substr($uri, 0, 2) == &quot;//&quot;) {</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>51</td>
                                            <td>Fully qualified, just leave as is.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>56</td>
                                            <td>Absolute url, prepend with siteUrl</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>83</td>
                                            <td>Empty uri means baseurl</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>86</td>
                                            <td>&quot; || substr($uri, 0, 2) == &quot;//&quot;) {</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>88</td>
                                            <td>Fully qualified, just leave as is.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>93</td>
                                            <td>Absolute url, prepend with siteUrl</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>115</td>
                                            <td>Allow empty</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>117</td>
                                            <td>&quot; || substr($uri, 0, 2) == &quot;//&quot;) {</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>119</td>
                                            <td>Fully qualified, just leave as is.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>124</td>
                                            <td>Absolute url, prepend with staticSiteUrl</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                                                                                    <div class="package-contents">
                            <a name="Content/CTextFilter.php" id="Content/CTextFilter.php"></a>
                            <h3>
                            <i class="icon-file"></i>
                                Content/CTextFilter.php
                                <small style="float: right;padding-right: 10px;">7</small>
                            </h3>
                            <div>
                                <table class="table markers table-bordered">
                                    <tr>
                                        <th>Type</th>
                                        <th>Line</th>
                                        <th>Description</th>
                                    </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>26</td>
                                            <td>Define all valid filters with their callback function.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>35</td>
                                            <td>Make an array of the comma separated string $filters</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>38</td>
                                            <td>For each filter, call its function with the $text as parameter.</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>60</td>
                                            <td>dbwebb.se/coachen/reguljara-uttryck-i-php-ger-bbcode-formattering</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>94</td>
                                            <td>dbwebb.se/coachen/lat-php-funktion-make-clickable-automatiskt-skapa-klickbara-lankar</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>99</td>
                                            <td>[^\s()&lt;&gt;]+(?:\([\w\d]+\)|([^[:punct:]\s]|/))#&#039;,</td>
                                        </tr>
                                                                            <tr>
                                            <td></td>
                                            <td>116</td>
                                            <td>dbwebb.se/coachen/skriv-for-webben-med-markdown-och-formattera-till-html-med-php</td>
                                        </tr>
                                                                    </table>
                            </div>
                        </div>
                                                </div>
        </div>
    </section>

    <footer class="row-fluid">
        <section class="span10 offset2">
            <section class="row-fluid">
                <section class="span10 offset1">
                    <section class="row-fluid footer-sections">
                        <section class="span4">
                                                        <h1><i class="icon-code"></i></h1>
                            <div>
                                <ul>
                                                                            <li><a href="../namespaces/Anax.html">\Anax</a></li>
                                                                    </ul>
                            </div>
                        </section>
                        <section class="span4">
                                                        <h1><i class="icon-bar-chart"></i></h1>
                            <div>
                                <ul>
                                    <li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
                                </ul>
                            </div>
                        </section>
                        <section class="span4">
                                                        <h1><i class="icon-pushpin"></i></h1>
                            <div>
                                <ul>
                                    <li><a href="../reports/errors.html">Errors</a></li>
                                    <li><a href="../reports/markers.html">Markers</a></li>
                                </ul>
                            </div>
                        </section>
                    </section>
                </section>
            </section>
            <section class="row-fluid">
                <section class="span10 offset1">
                    <hr />
                    Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
                    on March 3rd, 2015 at 22:36.
                </section>
            </section>
        </section>
    </footer>
</div>

</body>
</html>