FOSSology  4.4.0
Open Source License Compliance by Open Source Software
ajax-filelic.php File Reference

This plugin finds all the uploadtree_pk's in the first directory level under a parent, that contain a given license. More...

Go to the source code of this file.

Classes

class  ajax_filelic
 Find uploadtree_pk for a given license. More...
 

Variables

const TITLE_AJAX_FILELIC _("ajax find items by license")
 
 $NewPlugin = new ajax_filelic()
 

Detailed Description

This plugin finds all the uploadtree_pk's in the first directory level under a parent, that contain a given license.

GET args: napk, lic, item
item is the parent uploadtree_pk
napk is the nomosagent_pk whos results you are looking for
lic is the shortname of the license

Ajax usage:
http://...?mod=ajax_filelic&napk=123&item=123456&lic=FSF

Returns
the rf_shortname, and comma delimited string of uploadtree_pks: "FSF,123,456"

Definition in file ajax-filelic.php.