Variable Prefix

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
sherbetlemon
Posts: 9
Joined: 02 Apr 2008, 00:26

Variable Prefix

Post by sherbetlemon »

Hello,

I'm new here and currently I have a project which customizes Mantis to be used in our organization. I would just like to ask what did the prefixes 't', 'f', 'p' means (i.e. 't' in $t_per_page, 'f' in $f_page_number, and 'p' in $p_bug_id)?? Am I correct to assume that 't' stands for temporary and 'p' for parameter???

Thanks so much in advance! :D
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Re: Variable Prefix

Post by vboctor »

Checkout the coding guidelines:
http://www.mantisbt.org/wiki/doku.php/m ... guidelines

And the developer's corner:
http://www.mantisbt.org/wiki/doku.php/m ... ers_corner

$t = temp, $p = parameters, $f = form variable.
Migrate your MantisBT to the MantisHub Cloud
sherbetlemon
Posts: 9
Joined: 02 Apr 2008, 00:26

Re: Variable Prefix

Post by sherbetlemon »

Thanks sir! :-)
Post Reply