General XML export calss. More...
Public Member Functions | |
openHeader ($action) | |
Function wich open XML header This function will open XML header and set header information. | |
createPages ($page, $page_count) | |
Function wich creates page list. | |
closeHeader () | |
Function to close XML export header. | |
createAppInfo ($id, $verid, $name, $desc, $category, $url, $versions_list="", $category_list="", $test_results="", $comment_list="", $verinfo="", $bugs_list="") | |
Function wich creates application XML info. | |
createAppVersionInfo ($verid, $appver, $rating, $winever) | |
Function wich creates app version XML view. | |
createAppTestingInfo ($testid, $rating, $winever, $works, $notworks, $nottested, $comment, $vername, $lic) | |
Function wich creates app version XML view. | |
createTop5TestResults ($testid, $rating, $winever, $testdate, $distrib, $installs, $runs, $curr) | |
Function wich gets top 5 test results XML view. | |
createCategoryInfo ($id, $name, $desc) | |
Function wich gets category XML view. | |
createCategoryAppInfo ($id, $name, $desc) | |
Function wich gets category appinfo XML view. | |
createComment ($id, $parent, $user, $subject, $body, $time) | |
Function wich gets comment XML view. | |
createBugList ($bug_id, $bug_status, $resolution, $short_desc) | |
Function wich gets bugs XML view. |
General XML export calss.
This class provides general xml view generation functions
Definition at line 35 of file xml.php.
createAppInfo | ( | $ | id, | |
$ | verid, | |||
$ | name, | |||
$ | desc, | |||
$ | category, | |||
$ | url, | |||
$ | versions_list = "" , |
|||
$ | category_list = "" , |
|||
$ | test_results = "" , |
|||
$ | comment_list = "" , |
|||
$ | verinfo = "" , |
|||
$ | bugs_list = "" | |||
) |
Function wich creates application XML info.
id | application id | |
verid | application version id | |
name | application name | |
desc | application desc | |
category | application category | |
url | application web page url | |
versions_list | application versions list, defalut empty | |
category_list | application category list, defalut empty | |
test_results | application test results list list, defalut empty | |
comment_list | application comment list, defalut empty | |
verinfo | application version info, defalut empty | |
bugs_list | application bugs list, defalut empty |
createAppTestingInfo | ( | $ | testid, | |
$ | rating, | |||
$ | winever, | |||
$ | works, | |||
$ | notworks, | |||
$ | nottested, | |||
$ | comment, | |||
$ | vername, | |||
$ | lic | |||
) |
Function wich creates app version XML view.
testid | application test id | |
rating | application test rating | |
winever | wine test version | |
works | what works | |
notworks | what not works | |
nottested | what not tested | |
comment | comment | |
vername | version name | |
lic | license |
createAppVersionInfo | ( | $ | verid, | |
$ | appver, | |||
$ | rating, | |||
$ | winever | |||
) |
createBugList | ( | $ | bug_id, | |
$ | bug_status, | |||
$ | resolution, | |||
$ | short_desc | |||
) |
createCategoryAppInfo | ( | $ | id, | |
$ | name, | |||
$ | desc | |||
) |
createCategoryInfo | ( | $ | id, | |
$ | name, | |||
$ | desc | |||
) |
createComment | ( | $ | id, | |
$ | parent, | |||
$ | user, | |||
$ | subject, | |||
$ | body, | |||
$ | time | |||
) |
createPages | ( | $ | page, | |
$ | page_count | |||
) |
createTop5TestResults | ( | $ | testid, | |
$ | rating, | |||
$ | winever, | |||
$ | testdate, | |||
$ | distrib, | |||
$ | installs, | |||
$ | runs, | |||
$ | curr | |||
) |
Function wich gets top 5 test results XML view.
testid | application test id | |
rating | application test rating | |
winever | wine test version | |
testdate | test date | |
distrib | distribution | |
installs | did installs? | |
runs | did runs? | |
curr | is current test? |
openHeader | ( | $ | action | ) |
Function wich open XML header This function will open XML header and set header information.
action | XML export action description | |
action | 1 -- search app by name or toggle page | |
action | 3 -- view app by id | |
action | 4 -- view app test results by id | |
action | 5 -- view category info |