FOSSology  4.4.0
Open Source License Compliance by Open Source Software
parseLicenseTbl Class Reference
Collaboration diagram for parseLicenseTbl:
Collaboration graph

Public Member Functions

 __construct ($page)
 
 parseLicenseTbl ()
 

Public Attributes

 $page
 

Private Attributes

 $test
 

Detailed Description

Given a fossology License Broswe page, parse it and return the license table. The rest of the page can be parsed by the browseMenu class.

Parameters
string$pagethe xhtml page to parse
Returns
assocative array with Can return an empty array indicating nothing on the page to browse.
Todo:
add in link fixups and adjust consumers
Version
"$Id: parseLicenseTbl.php 2865 2010-03-10 19:06:25Z rrando $" Created on Aug 21, 2008

Definition at line 24 of file parseLicenseTbl.php.

Member Function Documentation

◆ parseLicenseTbl()

parseLicenseTbl::parseLicenseTbl ( )

function parseLicenseTbl given a fossology license histogram, parse it.

Returns
array of empty array if no license histogram on that page, else returns an associative array of license names and the value is the link to that license.

Definition at line 42 of file parseLicenseTbl.php.


The documentation for this class was generated from the following file: