Merge pull request #2285 from dengqf6/luci-ssl-nginx
[oweals/luci.git] / modules / luci-base / luasrc / dispatcher.luadoc
index 743463c74f98ab5ee77927b9a4dec8544775ab4d..a77f8d8b0732b0491b680a295b3c31d2893ce3f3 100644 (file)
@@ -22,7 +22,7 @@ Check whether a dispatch node shall be visible
 ]]
 
 ---[[
-Return a sorted table of visible childs within a given node
+Return a sorted table of visible children within a given node
 
 @class function
 @name node_childs
@@ -81,15 +81,6 @@ Build the index before if it does not exist yet.
 @name createtree
 ]]
 
----[[
-Register a tree modifier.
-
-@class function
-@name modifier
-@param func    Modifier function
-@param order   Modifier order value (optional)
-]]
-
 ---[[
 Clone a node of the dispatching tree to another position.
 
@@ -116,8 +107,8 @@ Create a new dispatching node and define common parameters.
 
 ---[[
 Fetch or create a dispatching node without setting the target module or
-
 enabling the node.
+
 @class function
 @name get
 @param ...             Virtual path
@@ -133,6 +124,15 @@ Fetch or create a new dispatching node.
 @return                        Dispatching tree node
 ]]
 
+---[[
+Lookup node in dispatching tree.
+
+@class function
+@name lookup
+@param  ...            Virtual path
+@return Node object, canonical url or nil if the path was not found.
+]]
+
 ---[[
 Alias the first (lowest order) page automatically