Elgg 1.0 gatekeeper functions
This is just a quick post to introduce a pair of functions I wrote today while working on some of the Elgg 1.0 access control code. Namely, call_gatekeeper($function, $file = "") and callpath_gatekeeper($path, $include_subdirs = true), both of which return a boolean value. call_gatekeeper() This function tests to see whether it has the given method/function […]
This is just a quick post to introduce a pair of functions I wrote today while working on some of the Elgg 1.0 access control code. Namely, call_gatekeeper($function, $file = “”) and callpath_gatekeeper($path, $include_subdirs = true), both of which return a boolean value. call_gatekeeper() This function tests to see whether it has the given method/function […]
