| <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> |
| <html> |
| <head> |
| <meta http-equiv="content-type" content="text/html; charset=utf-8"> |
| <meta name="generator" content="Adobe RoboHelp - www.adobe.com"> |
| <title>Includes Mapping Properties</title> |
| <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss"> |
| <!-- |
| if (navigator.appName !="Netscape") |
| { document.write("<link rel='stylesheet' href='default.css'>");} |
| //--> |
| </script> |
| <style> |
| <!-- |
| 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"> |
| <!-- |
| h1.whs1 { color:#00709e; } |
| img_whs2 { border:none; width:369px; height:165px; float:none; border-style:none; } |
| table.whs3 { x-cell-content-align:top; width:100%; border-spacing:0px; } |
| col.whs4 { width:7.093%; } |
| col.whs5 { width:92.907%; } |
| tr.whs6 { x-cell-content-align:top; } |
| td.whs7 { width:7.093%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; border-top-style:none; } |
| p.whs8 { font-style:italic; color:#0000ff; font-size:6pt; } |
| td.whs9 { width:92.907%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-top-style:none; } |
| p.whs10 { font-weight:bold; } |
| td.whs11 { width:7.093%; padding-right:10px; padding-left:10px; border-left-style:none; border-right-style:none; border-bottom-style:none; } |
| img_whs12 { border:none; width:28px; height:41px; float:none; border-style:none; } |
| td.whs13 { width:92.907%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; } |
| img_whs14 { border:none; border-style:none; width:249px; height:54px; float:none; } |
| td.whs15 { width:100%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; } |
| p.whs16 { font-size:6pt; } |
| td.whs17 { width:92.907%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; } |
| img_whs18 { border:none; width:28px; height:33px; float:none; border-style:none; } |
| ol.whs19 { list-style:decimal; } |
| img_whs20 { border:none; float:none; width:240px; height:136px; border-style:none; } |
| table.whs21 { x-cell-content-align:top; width:100%; x-condition:Online; border-spacing:0px; } |
| tr.whs22 { x-cell-content-align:top; height:16px; x-condition:Online; } |
| td.whs23 { width:7.093%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-bottom-style:none; border-top-style:none; x-condition:Online; } |
| td.whs24 { width:92.907%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-top-style:none; x-condition:Online; } |
| tr.whs25 { x-cell-content-align:top; height:35px; x-condition:Online; } |
| td.whs26 { width:7.093%; padding-right:10px; padding-left:10px; border-left-style:none; border-right-style:none; border-bottom-style:none; x-condition:Online; } |
| img_whs27 { border:none; width:28px; height:18px; float:none; x-condition:Online; border-style:none; } |
| td.whs28 { width:92.907%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; x-condition:Online; } |
| tr.whs29 { x-cell-content-align:top; height:19px; x-condition:Online; } |
| div.whs30 { width:100%; } |
| p.whs31 { text-align:right; x-condition:Product, Online; } |
| p.whs32 { text-align:right; x-condition:Online; } |
| p.whs33 { text-align:center; x-condition:PDT; text-decoration:underline; } |
| --> |
| </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> |
| <!-- |
| 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"> |
| <!-- |
| if (window.gbWhTopic) |
| { |
| if (window.setRelStartPage) |
| { |
| |
| } |
| |
| |
| if(1) |
| { |
| |
| } |
| |
| if (window.setRelStartPage) |
| { |
| setRelStartPage("IDE_Help.htm"); |
| |
| autoSync(1); |
| 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"> |
| <!-- |
| if (window.writeIntopicBar) |
| writeIntopicBar(4); |
| //--> |
| </script> |
| <h1 class="whs1">Includes Mapping Properties</h1> |
| <p>The Includes Mapping Properties |
| page allows you to map external paths which are required in your files |
| to locations in your project.</p> |
| <p> </p> |
| <p>To access the Includes Mapping Properties |
| page, right-click a PHP project in PHP Explorer view and select Properties |
| | Resource -or- select the project and from the menu bar go to Project |
| | Properties | Includes Mapping Properties. |
| </p> |
| <p class=picture><img src="properties_includes_mapping.png" x-maintain-ratio="TRUE" width="369px" height="165px" border="0" class="img_whs2"></p> |
| <p>The Include Mapping process allows you to have content assist and refactoring |
| / organize includes options available from a file located in your project |
| when you include a file situated on the corresponding file system/server |
| path.</p> |
| <p>This is done by mapping a server or file system path to a folder in |
| your project.</p> |
| <table x-use-null-cells cellspacing="0" width="100%" class="whs3"> |
| <col class="whs4"> |
| <col class="whs5"> |
| |
| <tr valign="top" class="whs6"> |
| <td colspan="1" rowspan="1" width="7.093%" class="whs7"> |
| <p class="whs8"> </td> |
| <td colspan="1" rowspan="1" width="92.907%" class="whs9"> |
| <p class="whs10"> </td></tr> |
| <tr valign="top" class="whs6"> |
| <td width="7.093%" class="whs11"> |
| <p class="whs8"><img src="txt_file_icon.png" x-maintain-ratio="TRUE" alt="Usage Example" width="28px" height="41px" border="0" class="img_whs12"></td> |
| <td width="92.907%" class="whs13"> |
| <p class="whs10">Example:</p> |
| <p>In your code you include an 'a.php' file from the server path localhost/abc/a.php:</p> |
| <p class=picture><img src="include_map_example.png" x-maintain-ratio="TRUE" width="249px" height="54px" border="0" class="img_whs14"></p> |
| <p>During the development process, you want the refactoring/organize includes |
| and content assist options available to you in the code to be taken from |
| an a.php file situated in 'folder1' of your 'abc' project.</p> |
| <p>In order to achieve this, you should map the include path 'localhost/abc/' |
| to '/abc/folder1'.</p> |
| </td></tr> |
| <tr valign="top" class="whs6"> |
| <td rowspan="1" colspan="2" width="100%" class="whs15"> |
| <p>PDT |
| will behave as though a.php has been included from within your project |
| and content for refactoring/organize includes and content assist operations |
| will now be taken from the a.php file situated in folder1 of your 'abc' |
| project. </td> |
| </tr> |
| </table> |
| <table x-use-null-cells cellspacing="0" width="100%" class="whs3"> |
| <col class="whs4"> |
| <col class="whs5"> |
| |
| <tr valign="top" class="whs6"> |
| <td colspan="1" rowspan="1" width="7.093%" class="whs7"> |
| <p class="whs16"> </td> |
| <td colspan="1" rowspan="1" width="92.907%" class="whs17"> |
| <p class="whs10"> </td></tr> |
| <tr valign="top" class="whs6"> |
| <td width="7.093%" class="whs11"> |
| <p class="whs16"><img src="ref_icon.png" x-maintain-ratio="TRUE" alt="Instructions on how to complete a procedure" width="28px" height="33px" border="0" class="img_whs18"></td> |
| <td width="92.907%" class="whs13"> |
| <p class="whs10">To create a new Include Map:</p> |
| <ol type="1" class="whs19"> |
| <li style="margin-left: -20px;" class=p><p>Click New.<br> |
| The New Include Mapping dialog is displayed.</p></li> |
| </ol> |
| <p class=picture><img src="include_map_new.png" x-maintain-ratio="TRUE" width="240px" height="136px" border="0" class="img_whs20"></p> |
| <ol start="2" type="1" class="whs19"> |
| <li style="margin-left: -20px;" class=p><p>In the 'Include' field, |
| enter the server/external file system path </p></li> |
| <li style="margin-left: -20px;" class=p><p>Click the Browse button |
| to the right of the 'Map to' field and select a folder in your project |
| to which the include path will be mapped.</p></li> |
| <li style="margin-left: -20px;" class=p><p>Click OK.<br> |
| The Include Mapping will be added to the Include Mapping list.</p></li> |
| </ol></td></tr> |
| <tr valign="top" class="whs6"> |
| <td rowspan="1" colspan="2" width="100%" class="whs15"> |
| <p>Whenever a file is included from the selected path, the refactoring/organize |
| includes and content assist options available to it will be taken from the |
| file in the location to which it has been mapped in your project.</td> |
| </tr> |
| </table> |
| <table x-use-null-cells cellspacing="0" width="100%" class="whs21"> |
| <col class="whs4"> |
| <col class="whs5"> |
| |
| <tr valign="top" class="whs22"><td colspan="1" rowspan="1" width="7.093%" class="whs23"> |
| <p class="whs16"> </td> |
| <td colspan="1" rowspan="1" width="92.907%" class="whs24"> |
| <p> </td></tr> |
| <tr valign="top" class="whs25"><td width="7.093%" class="whs26"> |
| <p class="whs16"><img src="link_icon.png" x-maintain-ratio="TRUE" alt="Related Links" width="28px" height="18px" border="0" class="img_whs27"></td> |
| <td width="92.907%" class="whs28"> |
| <p class="whs10">Related Links:</p> |
| <p><a HREF="Path_Mapping.htm">Path Mapping</a></p> |
| <p>Refactoring</p> |
| <p><a HREF="Code_Assist_Concept.htm">Content Assist</a></p> |
| <p><a href="code_analyzer_properties.htm">Code Analyzer Properties</a></p> |
| <p><a href="file_network_properties.htm">File Network Properties</a></p> |
| <p><a href="formatter_properties.htm">Formatter Properties</a></p> |
| <p><a href="includes_mapping_properties.htm">I</a><a href="php_debug_properties.htm">PHP |
| Debug Properties</a></p> |
| <p><a href="php_include_path_properties.htm">PHP Include Path Properties</a></p> |
| <p><a href="php_interpreter_properties.htm">PHP Interpreter Properties</a></p> |
| <p><a href="php_java_bridge_properties.htm">PHP Java Bridge Properties</a></p> |
| <p><a href="php_task_tags_properties.htm">PHP Task Tags Properties</a></td></tr> |
| <tr valign="top" class="whs29"><td colspan="1" rowspan="1" width="7.093%" class="whs26"> |
| <p class="whs16"> </td> |
| <td colspan="1" rowspan="1" width="92.907%" class="whs28"> |
| <p> </td></tr> |
| </table> |
| <div placeholder id="footer" class="whs30"> |
| <p align="right" class="whs31"><span |
| style="background-color: #ffffff; x-condition: Online, Product;">V</span>iew |
| the Zend Product <a href="http://files.zend.com/help/" style="color: #000000; x-condition: Product, Online;">Online |
| Documentation</a> for the most up-to-date information.</p> |
| <p align="right" class="whs32"><span style="background-color: #ffffff;"><a |
| href="javascript:crlf=" |
| ";h=location.href;t=document.title;e = "" + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (e!=null) location="mailto:documentation@zend.com" + "?Subject= Feedback on " + escape(t) + "&Body=" + escape(e).replace(/ /g, "+") + crlf + " "; void 0" |
| style="x-condition: Online;">Submit Documentation Feedback</a></span></p> |
| <p align="center" class="whs33">PHP Development |
| Tool</p> |
| </div> |
| <script type="text/javascript" language="javascript1.2"> |
| <!-- |
| highlightSearch(); |
| if (window.writeIntopicBar) |
| writeIntopicBar(0); |
| if(0) |
| { |
| |
| } |
| //--> |
| </script> |
| </body> |
| </html> |