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

Procedural File: icon_api.php

Source Location: /core/icon_api.php

Page Details
Copyright:  Copyright (C) 2002 - 2009 MantisBT Team - mantisbt-dev@lists.sourceforge.net
Copyright:  Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
Link:  http://www.mantisbt.org
Functions
icon_get_status_icon  [line 31]

string icon_get_status_icon( string $p_icon  )

gets the status icon

Parameters:
string   $p_icon: 

API Tags:
Return:  html img tag containing status icon
Access:  public


[ 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

Parameters:
int   $p_dir: 
string   $p_sort_by: 
string   $p_field: 

API Tags:
Access:  public


[ Top ]
print_status_icon  [line 48]

null print_status_icon( string $p_icon  )

prints the status icon

Parameters:
string   $p_icon: 

API Tags:
Access:  public


[ Top ]


Documentation generated on Sun, 05 Apr 2009 23:01:17 +0100 by phpDocumentor 1.4.1