| [ Index ] |
|
Code source de Plume CMS 1.2.2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 133 lignes (4 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
| CheckList($id='', $res=0, $good='', $bad='', $warning='') X-Ref |
| Create a new checklist with a test. |
| addTest($id='', $res=0, $good='', $bad='', $warning='') X-Ref |
| Add a new test param: string id of the test param: int result of the test (0=bad, 1=good, 2=warning) param: string String in case of good result param: sring String in case of bad result param: string String in case of warning return: bool valid or invalid test |
| addItem($id='', $res=0, $good='', $bad='') X-Ref |
| Compatibility with the dotclear checklist |
| checkAll($level=2) X-Ref |
| Check the tests, 2 levels all good or good and warnings. param: int Level 1=all good, 2=warnings ok (default) return: bool global result of the tests |
| getHtml($path, $gi='check_on.png', $bi='check_off.png', $wi='check_wait.png') X-Ref |
| Get the an html list with the results of the tests. param: string Path to the images (no trailing slash) param: string Good image ('check_on.png') param: string Bad image ('check_off.png') param: string Warning image ('check_wait.png') return: string HTML code |
| Généré le : Mon Nov 26 11:57:01 2007 | par Balluche grâce à PHPXref 0.7 |
|