Rebased from upstream / out of band repository.
[librecmc/librecmc.git] / package / luci / documentation / api / modules / luci.dispatcher.html
index 4ae88fe612a6cdc7a7c60e5da17fffb3f9d2bff9..e4b12e676eb22740e7516ebf9e61c1a2b01164e0 100644 (file)
        </li>
 
        <li>
-               <a href="../modules/luci.http.protocol.html">luci.http.protocol</a>
+               <a href="../modules/luci.http.conditionals.html">luci.http.conditionals</a>
        </li>
 
        <li>
-               <a href="../modules/luci.http.protocol.conditionals.html">luci.http.protocol.conditionals</a>
+               <a href="../modules/luci.http.date.html">luci.http.date</a>
        </li>
 
        <li>
-               <a href="../modules/luci.http.protocol.date.html">luci.http.protocol.date</a>
-       </li>
-
-       <li>
-               <a href="../modules/luci.http.protocol.mime.html">luci.http.protocol.mime</a>
+               <a href="../modules/luci.http.mime.html">luci.http.mime</a>
        </li>
 
        <li>
@@ -321,7 +317,6 @@ Create a CBI form model dispatching target.</td>
        <td class="summary">
  
 Fetch or create a dispatching node without setting the target module or 
 enabling the node.</td>
        </tr>
 
@@ -332,6 +327,13 @@ enabling the node.</td>
 Dispatch an HTTP request.</td>
        </tr>
 
+       <tr>
+       <td class="name" nowrap><a href="#lookup">lookup</a>&nbsp;(...)</td>
+       <td class="summary">
+Lookup node in dispatching tree.</td>
+       </tr>
+
        <tr>
        <td class="name" nowrap><a href="#modifier">modifier</a>&nbsp;(func, order)</td>
        <td class="summary">
@@ -857,8 +859,8 @@ Create a CBI form model dispatching target.
 
  
 Fetch or create a dispatching node without setting the target module or 
-enabling the node.
+enabling the node. 
+
 
 
 <h3>Parameters</h3>
@@ -909,6 +911,38 @@ Dispatch an HTTP request.
 
 
 
+</dd>
+
+
+
+
+<dt><a name="lookup"></a><strong>lookup</strong>&nbsp;(...)</dt>
+<dd>
+
+Lookup node in dispatching tree. 
+
+
+
+<h3>Parameters</h3>
+<ul>
+       
+       <li>
+         ...: Virtual path
+       </li>
+       
+</ul>
+
+
+
+
+
+
+<h3>Return value:</h3>
+Node object, canonical url or nil if the path was not found.
+
+
+
 </dd>