Technology Temerity

PHP – Global Constants

This set of global constants is a dependency for nearly all other functions and classes I have created with PHP. For obvious security reasons some of the actual values may be removed.

class constants
{    

	/*
	constants
	Damon Vaughn Caskey
	2012_12_18
	~2012_12_30: Local constants moved back to individual class files.
	
	Global constants. 
	*/		
	
	/* Basic values */
	const	c_cAdmin		= "";										//Default "all access" user accounts.
	const	c_cDateF		= "Y-m-d H:i:s";							//Default date format.
	const	c_cWMName		= "Damon V. Caskey";						//Default webmaster's name.
	const	c_cWMEmailIn	= "dvcask2@uky.edu";						//Default webmaster's incoming email address.
	const	c_cVFGuid		= "00000000-0000-0000-0000-000000000000";	//False guid.
					
	/* Media & Icons */
	const	c_cIconExcel	= "<img src='/media/image/icon_excel.png' alt='MS Excel document.' title='MS Excel document.' class='iconS'/>";					//MS Excel icon.
	const	c_cIconPDF		= "<img src='/media/image/icon_pdf.png' alt='PDF document.' title='PDF document.' class='iconS' />";							//PDF icon.
	const	c_cIconPPT		= "<img src='/media/image/icon_powerpoint.png' alt='MS Powerpoint document.' title='MS Powerpoint document.' class='iconS' />";	//MS Powerpoint icon.
	const	c_cIconWord		= "<img src='/media/image/icon_word.png' alt='MS Word document.' title='MS Word document.' class='iconS' />";					//MS Word icon.
	const	c_cPathImage	= "/media/image/";							//Default path for image files.	
}

Author: Damon Caskey

Hello all, Damon Caskey here - the esteemed owner of this little slice of cyberspace. Welcome!

1 Comment

Leave a Reply