Variable Naming Conventions

From FMYiRCWiki

Jump to: navigation, search

Freemed-YiRC Variable Naming Conventions


Contents


Summary

Variable naming conventions used throughout the Freemed-YiRC system.

Standard

  • All standard variables in Freemed-YiRC are prefixed with $fy_

Variables Returned from Forms

  • All variables returned from forms are prefixed with $gr_

Counter/Index Variables

  • All counter/index variables are called $jr or $jr1..$jr2 or prefixed with $jr_

Freemed-YiRC Predefined Variables

  • $fydb_host = database IP/URL.
  • $fydb_type = defines the database type (Ex: mysql)
  • $fydb_name = defines the database name (Ex: freemed_yirc)
  • $bgcolor1 = defines first color for alternating table row colors
  • $bgcolor2 = defines second color for alternating table row colors
Personal tools