blob: 60ae5a43ff7d9cfa8dd2e9c1e92a7d5790ab362d [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="Adobe RoboHelp 8">
<title>Importing PHP User Libraries</title>
<link rel="StyleSheet" href="default.css" type="text/css">
<style type="text/css">
<!--
body { border-left-style:None;
border-right-style:None;
border-bottom-style:None;
background-color:Transparent;
border-top-style:None; }
-->
</style>
<style type="text/css">
<!--
body { border-left-style:None;
border-right-style:None;
border-bottom-style:None;
background-color:Transparent;
border-top-style:None; }
-->
</style>
<script type="text/javascript" language="JavaScript">
//<![CDATA[
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//]]>
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute;
left:0px;
top:0px;
z-index:4;
visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style>
<script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whlang.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">//<![CDATA[
<!--
if (window.gbWhTopic)
{
var strUrl = document.location.href;
var bc = 0;
var n = strUrl.toLowerCase().indexOf("bc-");
if(n != -1)
{
document.location.href = strUrl.substring(0, n);
bc = strUrl.substring(n+3);
}
if (window.setRelStartPage)
{
addTocInfo("Tasks\nManaging PHP Libraries\nImporting PHP User Libraries");
}
document.write("<p style=\"text-align:left\"> ");
AddMasterBreadcrumbs("ide_help.htm", "", "&gt;", "Home", "pdt_table_of_contents.htm");
document.write("<a href=\"tasks.htm\">Tasks<\/a> &gt; <a href=\"php_libraries_preferences.htm\">Managing PHP Libraries<\/a> &gt; Importing PHP User Libraries<\/p>");
if (window.setRelStartPage)
{
setRelStartPage("ide_help.htm");
autoSync(0);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
//]]></script>
</head>
<body leftmargin="5" topmargin="5" rightmargin="5" bottommargin="5"><script type="text/javascript" language="javascript1.2">//<![CDATA[
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
//]]></script>
<div style="width: 100%; position: relative;" id="header">
<p align="right"><a
title="Documentation Survey" href="http://spreadsheets.google.com/viewform?formkey=dC1scEswTjFia2tDQ3Y5TVJBbkNQcWc6MQ">Documentation
Survey</a>
| <a href="javascript:crlf=&quot;&quot;;h=location.href;t=document.title;e = &quot;&quot; + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (e!=null) location=&quot;mailto:documentation@zend.com&quot; + &quot;?Subject= Feedback on PDT for page &quot; + escape(t) + &quot;&amp;Body=&quot; + escape(e).replace(/ /g, &quot;+&quot;) + crlf + &quot; &quot;; void 0"><span
style="background-color: #ffffff;">Submit Documentation</span><span
style="background-color: #ffffff;"> Feedback</span></a><span
style="background-color: #ffffff;"></span><span style="background-color: #ffffff;">
</span><span style="background-color: #ffffff;">|
</span><span
style="background-color: #ffffff;"><a title="View Latest Version and Get PDF Online"
href="http://www.zend.com/en/resources/zend-documentation/"
target="_blank">View Latest
Version and Get PDF Online</a></span></p>
</div>
<h1 style="color: #00709e;">Importing PHP User Libraries
</h1>
<p>This procedure describes how to import existing user libraries that
are on the disk or in a repository. This allows you to take an already
built library and use it in your project, as well as share a library with
other users of the same repository. Importing a library will only import
a description of the library in .xml format, and will not include any
of the library's content. Before importing a user library, you must first
have access to an exported user library. For more information see <a href="exporting_php_user_libraries.htm">Exporting
PHP User Libraries</a>.</p>
<table cellspacing="0" width="100%">
<col style="width: 7.093%;">
<col style="width: 92.907%;">
<tr style="vertical-align: top; height: 22px;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;">&#160;</p></td>
<td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p
style="font-weight: bold;">&#160;</p></td>
</tr>
<tr style="vertical-align: top; height: 35px;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;"><img src="ref_icon.png" alt="Instructions on how to complete a procedure" title="Instructions on how to complete a procedure" style="border: none;" width="28" height="33" border="0"></p></td>
<td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p
class="NUMBERS"><span style="font-weight: bold;"><b>To import
a user library:</b></span></p>
<ol type="1">
<li class="p"><p>Go to <span style="font-weight: bold;"><b>Window</b></span>
| <span style="font-weight: bold;"><b>Preferences</b></span> | <span
style="font-weight: bold;"><b>PHP</b></span> | <span style="font-weight: bold;"><b>PHP
Libraries</b></span>.</p></li>
<li class="p"><p>In the PHP Libraries Preferences page click
<span style="font-weight: bold;"><b>Import...</b></span><br>
The &quot;Import User Libraries&quot; dialog will open.</p></li>
<li class="p"><p>To choose where you would like to import your
library from, fill in the &quot;File location:&quot; text
field with the URL or click <span style="font-weight: bold;"><b>Browse...</b></span>
and select the location.</p></li>
<li class="p"><p>Select the libraries you would like to import
from the options in the &quot;Libraries contained in the selected
file:&quot; box, or press <span style="font-weight: bold;"><b>Select
All</b></span> or <span style="font-weight: bold;"><b>Deselect All</b></span>.</p></li>
<li class="p"><p>To apply changes click <span style="font-weight: bold;"><b>OK</b></span>.<br>
Your library's description in .xml format has now been imported
into PDT
.</p></li>
</ol></td>
</tr>
<tr style="vertical-align: top; height: 19px;">
<td colspan="2" style="width: 100%; padding-right: 10px; padding-left: 10px;"><p>If
the library of the user who imports it is stored in the same location
on the disk as the user who exported it, PDT
will automatically find the libraries content and store it accordingly.
If the user library is stored in a different place for the two
users, the <span style="font-weight: bold;"><b>Edit...</b></span> button
allows you to replace the location URL. See <a href="editing_php_user_libraries.htm">Editing
PHP User Libraries</a> for more information.</p></td>
</tr>
</table>
<table cellspacing="0" width="100%">
<col style="width: 7.093%;">
<col style="width: 92.907%;">
<tr style="vertical-align: top;
height: 16px;">
<td style="width: 7.093%; padding-right: 10px;
padding-left: 10px;"><p
style="font-size: 6pt;">&#160;</p></td>
<td style="width: 92.907%;
padding-right: 10px; padding-left: 10px;"><p>&#160;</p></td>
</tr>
<tr style="vertical-align: top;
height: 35px;">
<td style="width: 7.093%; padding-right: 10px;
padding-left: 10px;"><p
style="font-size: 6pt;"><img src="link_icon.png" alt="link_icon.png" style="border: none;" width="32" height="40" border="0"> </p></td>
<td style="width: 92.907%;
padding-right: 10px; padding-left: 10px;"><p><span
style="font-weight: bold;"><b>Related Links:</b></span>
<a href="php_libraries_preferences.htm" style="font-weight: normal;"><br>
PHP Libraries Preferences</a> </p>
<p style="font-weight: normal;"><a href="adding_a_php_library.htm"><span
style="font-weight: normal;">Adding a PHP Library</span>
</a></p>
<p style="font-weight: normal;"><a href="adding_external_folders_to_php_libraries.htm"><span
style="font-weight: normal;">Adding External Folders to PHP Libraries</span>
</a></p>
<p style="font-weight: normal;"><a href="exporting_php_user_libraries.htm"><span
style="font-weight: normal;">Exporting PHP User Libraries</span>
</a></p>
<p style="font-weight: normal;"><a href="editing_php_user_libraries.htm"><span
style="font-weight: normal;">Editing PHP User Libraries</span>
</a></p>
<p style="font-weight: normal;"><a href="editing_php_library_components_or_folders.htm"><span
style="font-weight: normal;">Editing PHP Library Components or
Folders</span> </a></p>
<p style="font-weight: normal;"><a href="removing_a_php_library_or_library_folder.htm" style="font-weight: normal;">Removing
a PHP Library or Library Folder</a> </p></td>
</tr>
<tr style="vertical-align: top;
height: 19px;">
<td style="width: 7.093%; padding-right: 10px;
padding-left: 10px;"><p
style="font-size: 6pt;">&#160;</p></td>
<td style="width: 92.907%;
padding-right: 10px; padding-left: 10px;"><p>&#160;</p></td>
</tr>
</table>
<div style="width: 100%; position: relative;" id="footer">
<p style="text-decoration: underline; "
align="center">PHP Development
Tools</p>
</div>
<script type="text/javascript" language="javascript1.2">//<![CDATA[
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
highlightSearch();
//-->
//]]></script>
</body>
</html>