Location: PHPKode > projects > mediaman > mediaman/doc/elementindex_mediaman.html
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title></title>
			<link rel="stylesheet" href="media/stylesheet.css" />
											</head>
		<body>
						
<a name="top"></a>
<h2>[mediaman] element index</h2>
<a href="elementindex.html">All elements</a>
<br />
<div class="index-letter-menu">
	<a class="index-letter" href="elementindex_mediaman.html#a">a</a>
	<a class="index-letter" href="elementindex_mediaman.html#c">c</a>
	<a class="index-letter" href="elementindex_mediaman.html#d">d</a>
	<a class="index-letter" href="elementindex_mediaman.html#g">g</a>
	<a class="index-letter" href="elementindex_mediaman.html#h">h</a>
	<a class="index-letter" href="elementindex_mediaman.html#i">i</a>
	<a class="index-letter" href="elementindex_mediaman.html#l">l</a>
	<a class="index-letter" href="elementindex_mediaman.html#m">m</a>
	<a class="index-letter" href="elementindex_mediaman.html#n">n</a>
	<a class="index-letter" href="elementindex_mediaman.html#p">p</a>
	<a class="index-letter" href="elementindex_mediaman.html#s">s</a>
	<a class="index-letter" href="elementindex_mediaman.html#t">t</a>
	<a class="index-letter" href="elementindex_mediaman.html#u">u</a>
	<a class="index-letter" href="elementindex_mediaman.html#v">v</a>
	<a class="index-letter" href="elementindex_mediaman.html#w">w</a>
</div>

	<a name="a"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">a</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">addAlbum</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functionaddAlbum">addAlbum()</a> in music.php</div>
							<div class="index-item-description">Adds album to DB if it doesn't already exist, returns ID if it does</div>
					</dd>
			<dt class="field">
						<span class="method-title">addArtist</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functionaddArtist">addArtist()</a> in music.php</div>
							<div class="index-item-description">Adds artist to DB if it doesn't already exist, returns ID if it does</div>
					</dd>
			<dt class="field">
						<span class="method-title">addGenre</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functionaddGenre">addGenre()</a> in music.php</div>
							<div class="index-item-description">Adds genre to DB if it doesn't already exist, returns ID if it does</div>
					</dd>
			<dt class="field">
						<span class="method-title">addSong</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functionaddSong">addSong()</a> in music.php</div>
							<div class="index-item-description">Adds song to DB if it doesn't already exist.  If it does, and the file has been  updated, then the information in the DB is updated to reflect the current info.</div>
					</dd>
			<dt class="field">
						<span class="method-title">addUser</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_user_php.html#functionaddUser">addUser()</a> in user.php</div>
					</dd>
			<dt class="field">
						<span class="include-title">admin.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_admin_php.html">admin.php</a> in admin.php</div>
					</dd>
			<dt class="field">
						<span class="include-title">albums.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_albums_php.html">albums.php</a> in albums.php</div>
					</dd>
			<dt class="field">
						<span class="include-title">album.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_album_php.html">album.php</a> in album.php</div>
					</dd>
			<dt class="field">
						<span class="include-title">artists.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_artists_php.html">artists.php</a> in artists.php</div>
					</dd>
			<dt class="field">
						<span class="include-title">artist.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_artist_php.html">artist.php</a> in artist.php</div>
					</dd>
		</dl>
	<a name="c"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">c</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">checkAdmin</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#functioncheckAdmin">checkAdmin()</a> in inc-common.php</div>
							<div class="index-item-description">Check whether or not user is an admin</div>
					</dd>
			<dt class="field">
						<span class="method-title">createMusicTable</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_db_php.html#functioncreateMusicTable">createMusicTable()</a> in db.php</div>
							<div class="index-item-description">Internal function to create the music-related tables</div>
					</dd>
			<dt class="field">
						<span class="method-title">createPlaylistTable</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_db_php.html#functioncreatePlaylistTable">createPlaylistTable()</a> in db.php</div>
							<div class="index-item-description">Internal function to create the playlist-related tables</div>
					</dd>
			<dt class="field">
						<span class="method-title">createPrefsTable</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_db_php.html#functioncreatePrefsTable">createPrefsTable()</a> in db.php</div>
							<div class="index-item-description">Internal function to create the preferences table</div>
					</dd>
			<dt class="field">
						<span class="method-title">createUserTable</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_db_php.html#functioncreateUserTable">createUserTable()</a> in db.php</div>
							<div class="index-item-description">Internal function to create the users table</div>
					</dd>
		</dl>
	<a name="d"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">d</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="var-title">$db</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_db_php.html#global$db">$db</a> in db.php</div>
							<div class="index-item-description">Any file that includes db.php can use this link to the DB</div>
					</dd>
			<dt class="field">
						<span class="method-title">DBcommand</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_db_php.html#functionDBcommand">DBcommand()</a> in db.php</div>
							<div class="index-item-description">DBcommand should be used for simple DB commands where the result set is</div>
					</dd>
			<dt class="field">
						<span class="method-title">DefineRootPath</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#functionDefineRootPath">DefineRootPath()</a> in inc-common.php</div>
							<div class="index-item-description">DefineRootPath was taken from Netjuke code.  It tries to get the root path of mediaman</div>
					</dd>
			<dt class="field">
						<span class="include-title">db.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_db_php.html">db.php</a> in db.php</div>
					</dd>
		</dl>
	<a name="g"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">g</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">getAlbums</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functiongetAlbums">getAlbums()</a> in music.php</div>
							<div class="index-item-description">Returns a list of albums, by default it returns 10</div>
					</dd>
			<dt class="field">
						<span class="method-title">getAlbumSongs</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functiongetAlbumSongs">getAlbumSongs()</a> in music.php</div>
							<div class="index-item-description">Returns songs on a given album</div>
					</dd>
			<dt class="field">
						<span class="method-title">getArtistAlbums</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functiongetArtistAlbums">getArtistAlbums()</a> in music.php</div>
							<div class="index-item-description">Returns all albums by a given artist</div>
					</dd>
			<dt class="field">
						<span class="method-title">getArtists</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functiongetArtists">getArtists()</a> in music.php</div>
							<div class="index-item-description">Returns a number of artists, by default it returns the first 10</div>
					</dd>
			<dt class="field">
						<span class="method-title">getArtistSongs</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functiongetArtistSongs">getArtistSongs()</a> in music.php</div>
							<div class="index-item-description">Returns all songs by an artist</div>
					</dd>
			<dt class="field">
						<span class="method-title">getSongWebpath</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functiongetSongWebpath">getSongWebpath()</a> in music.php</div>
							<div class="index-item-description">Returns the web URL for a given song path</div>
					</dd>
			<dt class="field">
						<span class="method-title">getUpdatedArtists</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functiongetUpdatedArtists">getUpdatedArtists()</a> in music.php</div>
							<div class="index-item-description">Returns the artists added or updated most recently</div>
					</dd>
		</dl>
	<a name="h"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">h</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">human_file_size</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#functionhuman_file_size">human_file_size()</a> in inc-common.php</div>
							<div class="index-item-description">Function taken from php.net/filesize</div>
					</dd>
		</dl>
	<a name="i"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">i</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="include-title">index.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_admin_index_php.html">index.php</a> in index.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">includeStyle</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#functionincludeStyle">includeStyle()</a> in inc-common.php</div>
							<div class="index-item-description">Print the stylesheet as an HTML &lt;stlyle&gt; block.  In the future, this should look into  the database so that users can customize how the pages look.</div>
					</dd>
			<dt class="field">
						<span class="include-title">index.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_index_php.html">index.php</a> in index.php</div>
					</dd>
			<dt class="field">
						<span class="include-title">inc-common.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html">inc-common.php</a> in inc-common.php</div>
					</dd>
		</dl>
	<a name="l"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">l</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="include-title">login.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_login_php.html">login.php</a> in login.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">loginUser</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_login_php.html#functionloginUser">loginUser()</a> in login.php</div>
							<div class="index-item-description">Performs functions to log in user, setting cookies as appropriate</div>
					</dd>
			<dt class="field">
						<span class="method-title">logoutUser</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_login_php.html#functionlogoutUser">logoutUser()</a> in login.php</div>
							<div class="index-item-description">Logs a user out by removing the cookies that were set in the login method</div>
					</dd>
		</dl>
	<a name="m"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">m</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="include-title">music.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html">music.php</a> in music.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">mesc</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#functionmesc">mesc()</a> in inc-common.php</div>
							<div class="index-item-description">Escapes strings for use in the database, essentially a shortcut to</div>
					</dd>
			<dt class="field">
						<span class="const-title">MM_PATH</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#defineMM_PATH">MM_PATH</a> in inc-common.php</div>
							<div class="index-item-description">MM_PATH provides the installed filesystem path to mediaman</div>
					</dd>
			<dt class="field">
						<span class="const-title">MM_WEBPATH</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#defineMM_WEBPATH">MM_WEBPATH</a> in inc-common.php</div>
							<div class="index-item-description">MM_WEBPATH provides scripts with the full web path to the mediaman base directory</div>
					</dd>
		</dl>
	<a name="n"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">n</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">newAlbums</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functionnewAlbums">newAlbums()</a> in music.php</div>
							<div class="index-item-description">Returns the albums added most recently to the DB, by default it returns 10</div>
					</dd>
			<dt class="field">
						<span class="method-title">newArtists</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functionnewArtists">newArtists()</a> in music.php</div>
							<div class="index-item-description">Returns the artists added most recently to the DB, by default it returns 10</div>
					</dd>
			<dt class="field">
						<span class="method-title">newSongs</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functionnewSongs">newSongs()</a> in music.php</div>
							<div class="index-item-description">Returns the songs added most recently to the DB, by default it returns 10</div>
					</dd>
		</dl>
	<a name="p"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">p</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="include-title">phpinfo.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_phpinfo_php.html">phpinfo.php</a> in phpinfo.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">playAlbum</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_play_php.html#functionplayAlbum">playAlbum()</a> in play.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">playArtist</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_play_php.html#functionplayArtist">playArtist()</a> in play.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">playSong</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_play_php.html#functionplaySong">playSong()</a> in play.php</div>
					</dd>
			<dt class="field">
						<span class="include-title">play.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_play_php.html">play.php</a> in play.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">pprint</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#functionpprint">pprint()</a> in inc-common.php</div>
							<div class="index-item-description">Prints text surrounded by HTML paragraph tags and flushes any output buffer.</div>
					</dd>
			<dt class="field">
						<span class="method-title">printArtist</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functionprintArtist">printArtist()</a> in music.php</div>
							<div class="index-item-description">Prints a &lt;tr&gt; with artist information, for use in displaying new artists</div>
					</dd>
			<dt class="field">
						<span class="method-title">printDBCreateForm</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_admin_index_php.html#functionprintDBCreateForm">printDBCreateForm()</a> in index.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">printDBUserForm</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_admin_index_php.html#functionprintDBUserForm">printDBUserForm()</a> in index.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">printLogoutLink</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_login_php.html#functionprintLogoutLink">printLogoutLink()</a> in login.php</div>
							<div class="index-item-description">Writes a logout link, good for use in tables, etc.</div>
					</dd>
			<dt class="field">
						<span class="method-title">printM3U</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_play_php.html#functionprintM3U">printM3U()</a> in play.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">printNavbar</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#functionprintNavbar">printNavbar()</a> in inc-common.php</div>
							<div class="index-item-description">Print the navbar table, probably for the top of the page</div>
					</dd>
			<dt class="field">
						<span class="method-title">printStats</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#functionprintStats">printStats()</a> in inc-common.php</div>
							<div class="index-item-description">Print summary information about the mediaman installation</div>
					</dd>
			<dt class="field">
						<span class="method-title">printUserAddForm</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_user_php.html#functionprintUserAddForm">printUserAddForm()</a> in user.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">pwProcess</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#functionpwProcess">pwProcess()</a> in inc-common.php</div>
							<div class="index-item-description">Process a password passed as a string to encrypt and escape it.</div>
					</dd>
		</dl>
	<a name="s"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">s</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">scanDirForMedia</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_music_php.html#functionscanDirForMedia">scanDirForMedia()</a> in music.php</div>
							<div class="index-item-description">Scans given path recursively for media that mediaman can import</div>
					</dd>
			<dt class="field">
						<span class="method-title">secsToText</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#functionsecsToText">secsToText()</a> in inc-common.php</div>
							<div class="index-item-description">Function taken from php.net/time and modified for my own use</div>
					</dd>
			<dt class="field">
						<span class="method-title">separatorCleanup</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#functionseparatorCleanup">separatorCleanup()</a> in inc-common.php</div>
							<div class="index-item-description">separatorCleanup was taken from Netjuke code.  It cleans paths from Windows or *nix  to make backslashes into slashes, etc.</div>
					</dd>
		</dl>
	<a name="t"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">t</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="include-title">test.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_test_php.html">test.php</a> in test.php</div>
					</dd>
		</dl>
	<a name="u"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">u</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="var-title">$usable</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#global$usable">$usable</a> in inc-common.php</div>
							<div class="index-item-description">$usable tells scripts that mediaman has been set up, based upon whether or not  mediaman.ini exists already.</div>
					</dd>
			<dt class="field">
						<span class="include-title">user.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_user_php.html">user.php</a> in user.php</div>
					</dd>
		</dl>
	<a name="v"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">v</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="const-title">VERSION</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_inc-common_php.html#defineVERSION">VERSION</a> in inc-common.php</div>
							<div class="index-item-description">VERSION is used to provide the mediaman version number to scripts that may need it.</div>
					</dd>
		</dl>
	<a name="w"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">w</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">writeLoginForm</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_login_php.html#functionwriteLoginForm">writeLoginForm()</a> in login.php</div>
							<div class="index-item-description">Writes out a login form if the user isn't logged in.  If the user has cookies</div>
					</dd>
			<dt class="field">
						<span class="method-title">writeLogoutForm</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="mediaman/_lib_login_php.html#functionwriteLogoutForm">writeLogoutForm()</a> in login.php</div>
							<div class="index-item-description">Writes the logout form (just a button)</div>
					</dd>
		</dl>

<div class="index-letter-menu">
	<a class="index-letter" href="elementindex_mediaman.html#a">a</a>
	<a class="index-letter" href="elementindex_mediaman.html#c">c</a>
	<a class="index-letter" href="elementindex_mediaman.html#d">d</a>
	<a class="index-letter" href="elementindex_mediaman.html#g">g</a>
	<a class="index-letter" href="elementindex_mediaman.html#h">h</a>
	<a class="index-letter" href="elementindex_mediaman.html#i">i</a>
	<a class="index-letter" href="elementindex_mediaman.html#l">l</a>
	<a class="index-letter" href="elementindex_mediaman.html#m">m</a>
	<a class="index-letter" href="elementindex_mediaman.html#n">n</a>
	<a class="index-letter" href="elementindex_mediaman.html#p">p</a>
	<a class="index-letter" href="elementindex_mediaman.html#s">s</a>
	<a class="index-letter" href="elementindex_mediaman.html#t">t</a>
	<a class="index-letter" href="elementindex_mediaman.html#u">u</a>
	<a class="index-letter" href="elementindex_mediaman.html#v">v</a>
	<a class="index-letter" href="elementindex_mediaman.html#w">w</a>
</div>
	</body>
</html>
Return current item: mediaman