| [ Index ] |
PHP Cross Reference of MantisBT |
[Source view] [Print] [Project Stats]
Icon API
| Copyright: | Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org |
| Copyright: | Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net |
| File Size: | 100 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| icon_get_status_icon( $p_icon ) X-Ref |
| gets the status icon param: string $p_icon return: string html img tag containing status icon |
| print_status_icon( $p_icon ) X-Ref |
| prints the status icon param: string $p_icon return: null |
| print_sort_icon( $p_dir, $p_sort_by, $p_field ) X-Ref |
| The input $p_dir is either ASC or DESC The inputs $p_sort_by and $p_field are compared to see if they match If the fields match then the sort icon is printed This is a convenience feature to push the comparison code into this function instead of in the page(s) $p_field is a constant and $p_sort_by is whatever the page happens to be sorting by at the moment Multiple sort keys are not supported param: int $p_dir param: string $p_sort_by param: string $p_field return: null |
| Generated: Thu Jul 28 15:48:31 2011 | Cross-referenced by PHPXref 0.7 |