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