fetchperms__recursive

Description

Recursively fetches permissions for all items in the given path.

Syntax

void fetchperms__recursive (string $path, array &$data, int &$level)



Parameter $path

Expected type: String
Description: The path to the directory we want to look at



Parameter &$data

Expected type: Array of arrays
Description: An array of data to load information into



Parameter &$level

Expected type: Integer
Description: How many levels deep to go before stoping


Notes

  • Called by PackagePermissions to get permissions for items in a path
  • Loads data into $context['xml_data'] or $data['contents'] depending on whether or not 'xml' is in the URL
Advertisement: