|
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 User : jackjohn ( 502) PHP Version : 5.3.17 Disable Function : NONE Directory : /home/jackjohn/public_html/imagemanager/docs/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Option: custom_data</title>
<link href="css/screen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header">
<h1>Option: custom_data</h1>
</div>
<div class="content">
<p>This option enables you to specify some custom data that will be placed in a session called "mc_custom_data" this session data can then be picked up by for example the custom Authenticator class.</p>
<h3>Example of usage in init call on page level:</h3>
<div class="example">
<pre>
mcFileManager.init({
custom_data : "some custom data"
});
</pre>
</div>
<br />
<h3>Example of usage in mcFileManager.open call</h3>
<div class="example">
<pre>
<a href="javascript:mcFileManager.open('example1','url','','',{custom_data : "some custom data"});">[Browse]</a>
</pre>
</div><br />
<h3>Example of usage in a TinyMCE init call</h3>
<div class="example"><pre>
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "advimage,advlink,<strong>filemanager</strong>",
<strong>filemanager_path : "testcases/multiple_rootpath_files/root2"</strong>
});</pre>
</div>
</div>
<div class="footer">
<div class="helpindexlink"><a href="index.html">Help index</a></div>
<div class="copyright">Copyright © 2005-2006 Moxiecode Systems AB</div>
<br style="clear: both" />
</div>
</body>
</html>