17-mysql_database/parameters.php File Reference

This file is not intended to be run independently as program. More...

Go to the source code of this file.

Enumerations

enum  DATABASE_DBNAME
 Used to specify database name to select / use for address book operations. More...
enum  DATABASE_HOST
 Used to specify address of database server. More...
enum  DATABASE_PASSWORD
 Used to specify password with which one can connect to database. More...
enum  DATABASE_USERNAME
 Used to specify username with which one should connect to database server. More...
enum  IMAGE_BACKGROUND_BLUE
 Used to specfiy blue component of image color to be used as background. More...
enum  IMAGE_BACKGROUND_GREEN
 Used to specfiy green component of image color to be used as background. More...
enum  IMAGE_BACKGROUND_RED
 Used to specfiy red component of image color to be used as background. More...
enum  IMAGE_CUTS
 Used to specify how many lines (cuts) should be drawn on generated image so that it is hard to read using computer vision techniques. More...
enum  IMAGE_FILENAME
 Used to specify name (including location) of image to be generated. More...
enum  IMAGE_FONT_SIZE
 Used to specify font size to be used to write numbers on image. More...
enum  IMAGE_FOREGROUND_BLUE
 Used to specfiy blue component of image color to be used as background. More...
enum  IMAGE_FOREGROUND_GREEN
 Used to specfiy green component of image color to be used as background. More...
enum  IMAGE_FOREGROUND_RED
 Used to specfiy red component of image color to be used as foreground. More...
enum  IMAGE_MAXIMUM_NUMBER
 Used to specify maximum number that can be displayed on random image being generated. More...
enum  IMAGE_MINIMUM_NUMBER
 Used to specify minimum number that can be displayed on random image being generated. More...
enum  IMAGE_NUMBER_OF_CHARS
 Used to specify maxmimum number of character that may be displayed on image. More...
enum  IMAGE_SPACING
 Used to specify left, right, top and bottom spacing to be left between numbers and image borders so that numbers are easy to read. More...


Detailed Description

This file is not intended to be run independently as program.

It is used to define various parameters that can be used by address book page/module.

Author:
Saurabh Barjatiya
Version:
1.0

Definition in file parameters.php.


Enumeration Type Documentation

enum DATABASE_DBNAME

Used to specify database name to select / use for address book operations.

Definition at line 26 of file parameters.php.

enum DATABASE_HOST

Used to specify address of database server.

We can also use name like 'localhost' instead of IP address to refer to database server.

Definition at line 13 of file parameters.php.

enum DATABASE_PASSWORD

Used to specify password with which one can connect to database.

Definition at line 22 of file parameters.php.

enum DATABASE_USERNAME

Used to specify username with which one should connect to database server.

Definition at line 18 of file parameters.php.

enum IMAGE_BACKGROUND_BLUE

Used to specfiy blue component of image color to be used as background.

Note that in computers colors are specified using their Red, Green and Blue (RGB) components.

Definition at line 70 of file parameters.php.

enum IMAGE_BACKGROUND_GREEN

Used to specfiy green component of image color to be used as background.

Note that in computers colors are specified using their Red, Green and Blue (RGB) components.

Definition at line 65 of file parameters.php.

enum IMAGE_BACKGROUND_RED

Used to specfiy red component of image color to be used as background.

Note that in computers colors are specified using their Red, Green and Blue (RGB) components.

Definition at line 60 of file parameters.php.

enum IMAGE_CUTS

Used to specify how many lines (cuts) should be drawn on generated image so that it is hard to read using computer vision techniques.

Definition at line 45 of file parameters.php.

enum IMAGE_FILENAME

Used to specify name (including location) of image to be generated.

The path can be relative and folder specified must be writable by web server for things to work. If path is not specified current folder is used, in that case current folder should be writable by web server.

Definition at line 92 of file parameters.php.

enum IMAGE_FONT_SIZE

Used to specify font size to be used to write numbers on image.

Refer to php-gd manual pages to know acceptable minimum and maximum font sizes.

Definition at line 50 of file parameters.php.

enum IMAGE_FOREGROUND_BLUE

Used to specfiy blue component of image color to be used as background.

Note that in computers colors are specified using their Red, Green and Blue (RGB) components.

Definition at line 85 of file parameters.php.

enum IMAGE_FOREGROUND_GREEN

Used to specfiy green component of image color to be used as background.

Note that in computers colors are specified using their Red, Green and Blue (RGB) components.

Definition at line 80 of file parameters.php.

enum IMAGE_FOREGROUND_RED

Used to specfiy red component of image color to be used as foreground.

Note that in computers colors are specified using their Red, Green and Blue (RGB) components.

Definition at line 75 of file parameters.php.

enum IMAGE_MAXIMUM_NUMBER

Used to specify maximum number that can be displayed on random image being generated.

Definition at line 34 of file parameters.php.

enum IMAGE_MINIMUM_NUMBER

Used to specify minimum number that can be displayed on random image being generated.

Definition at line 30 of file parameters.php.

enum IMAGE_NUMBER_OF_CHARS

Used to specify maxmimum number of character that may be displayed on image.

This must be adjusted manually whenever IMAGE_MINIMUM_NUMBER or IMAGE_MAXIMUM_NUMBER or both are modified.

Definition at line 40 of file parameters.php.

enum IMAGE_SPACING

Used to specify left, right, top and bottom spacing to be left between numbers and image borders so that numbers are easy to read.

The number is specifed in pixels.

Definition at line 55 of file parameters.php.


Generated on Fri Nov 4 14:16:55 2011 for PHP example documentation by  doxygen 1.4.7