JAccess::getActionsFromFile
Method to return a list of actions from a file for which permissions can be set.
Signature
public function getActionsFromFile(string
$file,
[string
$xpath = "/access/section[@name='component']/"] )
Parameters
-
$file
- The path to the XML file.
-
$xpath
- An optional xpath to search for the fields.
Returns
- boolean|array
- False if case of error or the list of actions available.