[luci] luci grammar
Bryan Mayland
bmayland at leoninedev.com
Thu Jun 19 15:19:28 CEST 2014
On 6/19/2014 5:09 AM, ?? wrote:
>
> I see net:adminlink(), what is the function meaning of adminlink?
> and How can I get the description of the function from luci api document?
>
The easiest way to find out what any function does is to look at the
source, especially for one line functions.
function protocol.adminlink(self)
return dsp.build_url("admin", "network", "network", self.sid)
end
What does it do? It returns the URL for the webui that takes you to the
page for this item.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20140619/d5ac7ead/attachment.html>
More information about the luci
mailing list