X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fluci-base%2Fluasrc%2Fdispatcher.luadoc;fp=modules%2Fluci-base%2Fluasrc%2Fdispatcher.luadoc;h=ddf534b3e1e8f140b7a0f37f1eadbb29d93a586f;hp=743463c74f98ab5ee77927b9a4dec8544775ab4d;hb=7b04d0bbcf0f34393f20ccad8884a67fea9e2863;hpb=bc3651ba56b1c670beec6eaa879a4c28c5c96dc1 diff --git a/modules/luci-base/luasrc/dispatcher.luadoc b/modules/luci-base/luasrc/dispatcher.luadoc index 743463c74..ddf534b3e 100644 --- a/modules/luci-base/luasrc/dispatcher.luadoc +++ b/modules/luci-base/luasrc/dispatcher.luadoc @@ -116,8 +116,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 @@ -134,6 +134,15 @@ Fetch or create a new dispatching 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