blob: c3ce2c7c15c89f40cbb827835120fd4c2af1ebfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
-- Roles/Group model functions
require ("roles")
module (..., package.seeall)
getcont = function(self)
--need to get a list of all the controllers
controllers = roles.get_controllers(self)
local table_m = {}
for a,b in pairs(controllers) do
temp = roles.get_controllers_func(self,b)
table_m[b.sname] = temp
end
return (table_m)
end
|