FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
__construct ($page, $url) | |
countFiles () | |
parseFolderPath () | |
_createRtnArray ($list, $matches) | |
setPage ($page) | |
Public Attributes | |
$page | |
$host | |
$filesWithLicense | |
Private Attributes | |
$test | |
Parse the part of the page that has the folder path and mini menu.
string | $page | the xhtml page to parse |
Can return an empty array indicating nothing on the page to browse.
Definition at line 22 of file parseFolderPath.php.
parseFolderPath::_createRtnArray | ( | $list, | |
$matches | |||
) |
clean up the links to be usable
array | $list,the | list to clean up |
int | $matches,the | size of the list |
Definition at line 117 of file parseFolderPath.php.
parseFolderPath::countFiles | ( | ) |
function countFiles()
Parse the part of the page that has the folder path and mini menu, return the count of 'Folder' items found.
Definition at line 53 of file parseFolderPath.php.
parseFolderPath::parseFolderPath | ( | ) |
function parseFolderPath
Parse the part of the page that has the folder path and mini-menu, this method only parses the folder path, see parseMiniMenu.
An empty array is returned if no license paths on that page.
Definition at line 78 of file parseFolderPath.php.