CoreAPI
[ class tree: CoreAPI ] [ index: CoreAPI ] [ all elements ]

Procedural File: icon_api.php

Source Location: /core/icon_api.php



Page Details:



Tags:

copyright:  Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
copyright:  Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
link:  http://www.mantisbt.org








icon_get_status_icon [line 31]

string icon_get_status_icon( string $p_icon)

gets the status icon



Tags:

return:  html img tag containing status icon
access:  public


Parameters

string   $p_icon  
[ Top ]



print_sort_icon [line 67]

null print_sort_icon( int $p_dir, string $p_sort_by, string $p_field)

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




Tags:

access:  public


Parameters

int   $p_dir  
string   $p_sort_by  
string   $p_field  
[ Top ]



print_status_icon [line 48]

null print_status_icon( string $p_icon)

prints the status icon



Tags:

access:  public


Parameters

string   $p_icon  
[ Top ]



Documentation generated on Sun, 12 Dec 2010 23:50:33 +0900 by phpDocumentor 1.4.3
inserted by FC2 system