File Manager

Current Path : /webspace/www.saveursetterroir.be/html/modules/GBFilePicker/doc/api/
Upload File :
Current File : /webspace/www.saveursetterroir.be/html/modules/GBFilePicker/doc/api/elementindex_CMSModule.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" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
						
<a name="top"></a>
<h2>[CMSModule] element index</h2>
<a href="elementindex.html">All elements</a>
<br />
<div class="index-letter-menu">
	<a class="index-letter" href="elementindex_CMSModule.html#c">c</a>
	<a class="index-letter" href="elementindex_CMSModule.html#g">g</a>
	<a class="index-letter" href="elementindex_CMSModule.html#h">h</a>
	<a class="index-letter" href="elementindex_CMSModule.html#i">i</a>
	<a class="index-letter" href="elementindex_CMSModule.html#l">l</a>
	<a class="index-letter" href="elementindex_CMSModule.html#s">s</a>
</div>

	<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">CleanArray</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodCleanArray">GBFilePicker::CleanArray()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Removes empty elements from an array. <br />  (can be useful when using function explode to create the array from a csv)</div>
					</dd>
			<dt class="field">
						<span class="method-title">CleanPath</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodCleanPath">GBFilePicker::CleanPath()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Replaces all multiple DIRECTORY_SEPARATOR, dots and (multiple) slashes with one single DIRECTORY_SEPARATOR to make a clean secure path parameter</div>
					</dd>
			<dt class="field">
						<span class="method-title">CleanURL</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodCleanURL">GBFilePicker::CleanURL()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Replaces all multiple slashes, dots and (multiple) backslashes with one single slash to make a clean secure url parameter</div>
					</dd>
			<dt class="field">
						<span class="method-title">ContainsIllegalChars</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodContainsIllegalChars">GBFilePicker::ContainsIllegalChars()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Checks if a filename contains illegal chars<br />  Taken from TinyMCE Module.</div>
					</dd>
			<dt class="field">
						<span class="method-title">CreateFileDropdown</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodCreateFileDropdown">GBFilePicker::CreateFileDropdown()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Create a dropdown form element containing a list of files that match certain conditions</div>
					</dd>
			<dt class="field">
						<span class="method-title">CreateFilePickerInput</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodCreateFilePickerInput">GBFilePicker::CreateFilePickerInput()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Creates the filepicker input.</div>
					</dd>
			<dt class="field">
						<span class="method-title">CreateThumbnail</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodCreateThumbnail">GBFilePicker::CreateThumbnail()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Creates the thumbnail of a given image file.</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">
						GBFilePicker
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html">GBFilePicker</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Main class of the GBFilePicker Module</div>
					</dd>
			<dt class="field">
						<span class="include-title">GBFilePicker.module.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/_GBFilePicker.module.php.html">GBFilePicker.module.php</a> in GBFilePicker.module.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">GetActionIcon</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodGetActionIcon">GBFilePicker::GetActionIcon()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Gets the icon for the file operation. <br />  If FileManager is installed it uses FileManager icons. <br />  Otherwise it uses own icons<br /></div>
					</dd>
			<dt class="field">
						<span class="method-title">GetFileIcon</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodGetFileIcon">GBFilePicker::GetFileIcon()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Gets the icon for a file.<br />  If FileManager is installed it uses FileManager icons.<br />  Otherwise it uses own icons.</div>
					</dd>
			<dt class="field">
						<span class="method-title">GetFiles</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodGetFiles">GBFilePicker::GetFiles()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Return an array containing a list of files in a directory.<br />  Performs a non recursive search.</div>
					</dd>
			<dt class="field">
						<span class="method-title">GetFileType</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodGetFileType">GBFilePicker::GetFileType()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Gets the file type of a file.</div>
					</dd>
			<dt class="field">
						<span class="method-title">GetInputFiles</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodGetInputFiles">GBFilePicker::GetInputFiles()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Return an array containing a list of files in a directory related to a certain input.<br />  Performs a non recursive search.</div>
					</dd>
			<dt class="field">
						<span class="method-title">GetThemesList</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodGetThemesList">GBFilePicker::GetThemesList()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Returns a list of available themes</div>
					</dd>
			<dt class="field">
						<span class="method-title">GetThumbnail</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodGetThumbnail">GBFilePicker::GetThumbnail()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Returns the thumbnail of a given image file.</div>
					</dd>
			<dt class="field">
						<span class="method-title">GetThumbnailSize</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodGetThumbnailSize">GBFilePicker::GetThumbnailSize()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">returns the calculated size of the thumbnail<br /></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">HandleFileResizing</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodHandleFileResizing">GBFilePicker::HandleFileResizing()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">resizes images<br />  Adapted from TinyMCE filepicker.</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="method-title">IsDirEmpty</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodIsDirEmpty">GBFilePicker::IsDirEmpty()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Checks if a directory is empty<br />  Taken from TinyMCE Module (extracted from filepicker).</div>
					</dd>
			<dt class="field">
						<span class="method-title">IsFalse</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodIsFalse">GBFilePicker::IsFalse()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Checks if a value is really meant to be &quot;false&quot;. <br />  Can be usefull when checking smarty params for the value false</div>
					</dd>
			<dt class="field">
						<span class="method-title">IsTrue</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodIsTrue">GBFilePicker::IsTrue()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Checks if a value is really meant to be &quot;true&quot;. <br />  Can be usefull when checking smarty params for the value true</div>
					</dd>
			<dt class="field">
						<span class="method-title">IsVarEmpty</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodIsVarEmpty">GBFilePicker::IsVarEmpty()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Checks if a var is empty. <br />  If $var is an array it recursivley checks all elements.</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="method-title">Loaded</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodLoaded">GBFilePicker::Loaded()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Indicates if GBFilePicker output is already done<br />  can be useful to avoid ouput of javascript and css twice</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">SetParameters</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodSetParameters">GBFilePicker::SetParameters()</a> in GBFilePicker.module.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">SortFiles</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="CMSModule/GBFilePicker.html#methodSortFiles">GBFilePicker::SortFiles()</a> in GBFilePicker.module.php</div>
							<div class="index-item-description">Sorts the files by filename; shows directories first<br />  this function is meant to be called from the php usort() function: usort($array,array($this,'SortFiles')<br />  Taken from TinyMCE filepicker.</div>
					</dd>
		</dl>

<div class="index-letter-menu">
	<a class="index-letter" href="elementindex_CMSModule.html#c">c</a>
	<a class="index-letter" href="elementindex_CMSModule.html#g">g</a>
	<a class="index-letter" href="elementindex_CMSModule.html#h">h</a>
	<a class="index-letter" href="elementindex_CMSModule.html#i">i</a>
	<a class="index-letter" href="elementindex_CMSModule.html#l">l</a>
	<a class="index-letter" href="elementindex_CMSModule.html#s">s</a>
</div>
	</body>
</html>

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com