| <!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>Source Menu</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("Reference\nPHP Perspective Menus\nSource Menu"); |
| addAvenueInfo("Reference","edit.htm","refactor.htm"); |
| |
| } |
| |
| document.write("<p style=\"text-align:left\"> "); |
| AddMasterBreadcrumbs("ide_help.htm", "", ">", "Home", "pdt_table_of_contents.htm"); |
| document.write("<a href=\"reference.htm\">Reference<\/a> > <a href=\"menus.htm\">PHP Perspective Menus<\/a> > Source Menu<\/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="";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 PDT for page " + escape(t) + "&Body=" + escape(e).replace(/ /g, "+") + crlf + " "; 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>Source Menu |
| </h1> |
| <p>The Source menu allows you to organize your scripts by adding or removing |
| comments and formatting the script to make it more easily viewable.</p> |
| <p style="font-weight: bold;"> </p> |
| <p style="font-weight: bold;">The options available from the Source menu |
| are:</p> |
| <table style="left: 0px; top: 753px; height: 630px;" cellspacing="0" width="100%"> |
| <col style="width: 22.16%;"> |
| <col style="width: 13.78%;"> |
| <col style="width: 64.06%;"> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <tr valign="top"> |
| <td style="border-left: Solid 1px #000000; |
| border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 22.16%; padding-right: 10px; |
| padding-left: 10px;"><p |
| style="font-weight: bold;">Name</p></td> |
| <td style="border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 13.78%; padding-right: 10px; |
| padding-left: 10px;"><p |
| style="font-weight: bold;">Shortcut</p></td> |
| <td style="border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 64.06%; padding-right: 10px; |
| padding-left: 10px;"><p |
| style="font-weight: bold;">Description</p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="border-left: Solid 1px #000000; |
| border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 22.16%; padding-right: 10px; |
| padding-left: 10px;"><p style="font-weight: bold;">Toggle |
| Comment</p></td> |
| <td style="border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 13.78%; padding-right: 10px; |
| padding-left: 10px;"><p>Ctrl+/</p> |
| <p>-or-</p> |
| <p>Ctrl+7</p></td> |
| <td style="border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 64.06%; padding-right: 10px; |
| padding-left: 10px;"><p>Comments |
| or uncomments a line by adding or removing "//" characters.</p> |
| <p>Comments are used for adding text to your script to explain |
| sections of code. Commented text will not be run as part of your |
| code.</p> |
| <p>To use this feature, select the line and press Ctrl+/.</p> |
| <p>For more, see " |
| <a href="commenting_code.htm">Commenting |
| Code</a> ."</p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="border-left: Solid 1px #000000; |
| border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 22.16%; padding-right: 10px; |
| padding-left: 10px;"><p style="font-weight: bold;">Add |
| Block Comment</p> |
| <p> </p></td> |
| <td style="border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 13.78%; padding-right: 10px; |
| padding-left: 10px;"><p>Ctrl+Shift+/</p> |
| <p> </p></td> |
| <td style="border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 64.06%; padding-right: 10px; |
| padding-left: 10px;"><p>Comments |
| a block by adding "/*" and "*/" characters |
| to either side of the code.</p> |
| <p>To use this feature, select the block and press Ctrl+Shift+/.</p> |
| <p>For more, see " |
| <a href="commenting_code.htm">Commenting |
| Code</a> ."</p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="border-left: Solid 1px #000000; |
| border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 22.16%; padding-right: 10px; |
| padding-left: 10px;"><p style="font-weight: bold;">Remove |
| Block Comment</p></td> |
| <td style="border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 13.78%; padding-right: 10px; |
| padding-left: 10px;"><p>Ctrl+Shift+\</p> |
| <p> </p></td> |
| <td style="border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 64.06%; padding-right: 10px; |
| padding-left: 10px;"><p>Removes |
| a block comment.</p> |
| <p>To use this feature, place the cursor anywhere within the comment |
| and click Ctrl+Shift+\.</p> |
| <p>For more, see " |
| <a href="commenting_code.htm">Commenting |
| Code</a> ."</p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="border-left: Solid 1px #000000; |
| border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 22.16%; padding-right: 10px; |
| padding-left: 10px;"><p style="font-weight: bold;">Format |
| Document</p> |
| <p> </p></td> |
| <td style="border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 13.78%; padding-right: 10px; |
| padding-left: 10px;"><p>Ctrl+Shift+F</p> |
| <p> </p></td> |
| <td style="border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 64.06%; padding-right: 10px; |
| padding-left: 10px;"><p>Auto |
| formats a script to organize it into an easily readable format.</p> |
| <p>To format your code, place your cursor anywhere within the editor |
| view and press Ctrl+Shift+F. Appropriate line breaks and indents |
| will be added.</p> |
| <p>You can configure your auto-formatting |
| options through the <a href="formatter.htm">Formatter |
| Preferences page</a> , accessible from Window | |
| Preferences | PHP | Formatter. For more, see <a href="formatting_code.htm">Formatting Code</a> |
| .</p></td> |
| </tr> |
| <tr valign="top"> |
| <td style="border-left: Solid 1px #000000; |
| border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 22.16%; padding-right: 10px; |
| padding-left: 10px;"><p |
| style="font-weight: bold;">Format Active Elements</p></td> |
| <td style="border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 13.78%; padding-right: 10px; |
| padding-left: 10px;"><p>Ctrl+I</p> |
| <p> </p></td> |
| <td style="border-right: Solid 1px #000000; |
| border-bottom: Solid 1px #000000; |
| width: 64.06%; padding-right: 10px; |
| padding-left: 10px;"><p>Only |
| formats selected code.</p> |
| <p>To format active elements, select the required code to format |
| and press Ctrl+I.</p> |
| <p>Appropriate line breaks and indents will be added to the active |
| elements.</p> |
| <p>You can configure your auto-formatting |
| options through the <a href="formatter.htm">Formatter |
| Preferences page</a> , accessible from Window | |
| Preferences | PHP | Formatter.</p> |
| <p>For more, see <a href="formatting_code.htm">Formatting Code</a> |
| .</p></td> |
| </tr> |
| </table> |
| <table cellspacing="0" width="100%"> |
| <col style="width: 7.093%;"> |
| <col style="width: 92.907%;"> |
| <tr style="height: 16px;" valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; |
| padding-left: 10px;"><p |
| style="font-size: 6pt;"> </p></td> |
| <td style="width: 92.907%; |
| padding-right: 10px; padding-left: 10px;"><p> </p></td> |
| </tr> |
| <tr style="height: 35px;" valign="top"> |
| <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 |
| style="font-weight: bold;">Related Links:</p> |
| <p style="font-weight: normal;"><a href="menus.htm" style="font-weight: normal;">Menus</a> |
| </p> |
| <p><a href="file.htm">File</a></p> |
| <p><a href="edit.htm">Edit</a></p> |
| <p><a href="refactor.htm">Refactor</a></p> |
| <p><a href="navigate.htm">Navigate</a></p> |
| <p><a href="search.htm">Search</a></p> |
| <p><a href="project.htm">Project</a></p> |
| <p><a href="run.htm">Run</a></p> |
| <p><a href="window.htm">Window</a></p> |
| <p><a href="help.htm">Help</a></p></td> |
| </tr> |
| <tr style="height: 19px;" valign="top"> |
| <td style="width: 7.093%; padding-right: 10px; |
| padding-left: 10px;"><p |
| style="font-size: 6pt;"> </p></td> |
| <td style="width: 92.907%; |
| padding-right: 10px; padding-left: 10px;"><p> </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> |