Created
August 6, 2009 11:26
-
-
Save zeen/163254 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta = { | |
display = "Name visible in UIs"; | |
name = "name_in_code"; | |
type = "object"; | |
properties = { | |
{ | |
display = "Call my function"; | |
name = "myFunc"; | |
type = "function"; | |
parameters = { | |
{name = "key", type="string", required=true}; | |
{name = "value", type={"string","number"}}; | |
{name = "host", type={"string"}, visible=false, auto="host"}; | |
}; | |
allow = "user"; -- levels: root, admin, user, anonymous | |
}; | |
{ | |
display = "Call my method"; | |
name = "myMeth"; | |
type = "method"; | |
parameters = { | |
{name = "key", type="string"}; | |
{name = "value", type={"string","number"}}; | |
}; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment