Creating an FTPSSH Connection
This procedure describes how you can configure an FTP or SFTP connection in Zend Studio. To create an FTP SSH Connection 1. Open the Remote Systems Perspective by going to Window Open Perspective Other Remote Systems Explorer. 2. Open the Remote Systems view by going to Window Show View Other Remote Systems Remote Systems Remote Systems. 3. Click the 'Define a connection to remote system' button on the view's toolbar. 4. The New Connection dialog will appear. 5. Select 'FTP Only' for an FTP...
add a Path Map to a server
Open the PHP Servers Preferences Page by going to Window Preferences on the Menu Bar and selecting PHP PHP Servers from the Preferences list. Select the server on which you would like to create the Path Map and click Edit. In the Edit Server dialog, select the Path Mapping tab. Click Add. An Add new Path Mapping dialog appears. Enter the Server Path from which you would like to create the Path Map. Files called from this location will be searched for in the path specified below. Select either...
Launches button to remove any terminated debug sessions from the list During
Debug View - Here you can control stop, pause, and resume the debugging process. You can also decide whether to step into, step over or step return step out off certain functions. Variables - Will display the various variables in your script. Breakpoints - Will display the breakpoints you have entered Parameter Stack - Will display the parameters through which functions are reached. Editor Window - Will display the code at the relevant sections, according to which line is selected in the Debug...
add an external source folder to the projects Build Path
In the Build Path Properties page, click the 'Link Source ' button. -Or- In PHP Explorer view, right-click the project and select Build Path Link Source. The Link Source dialog is displayed. 2. Click the 'Browse ' button and browse to the location of the folder you want to add to the Build Path. Alternately, click Variables and select the variable which points to the required resource. 3. The Folder name field will have been automatically populated with the name of the original folder. 4....
Viewing Type Hierarchies
Type hierarchies can be viewed in either a Quick Type Hierarchy view or in the Type Hierarchy view. Viewing Types in the Quick Type Hierarchy View To view a type in a Quick Type Hierarchy view 1. Select the type name in the PHP editor, or PHP Explorer or outline views. -Or- from the Menu Bar go to Navigate Quick Type Hierarchy. The Quick Type Hierarchy view will be displayed in the editor with the selected type. public runction 3engender igieridec j p ub 11 c f U nc 11 o n trctOcndt c tiass...
Export Submenu
The Export submenu is available under File Export from the Menu Bar. The options available under the Export submenu are The options available under the Export submenu are Archive File - Exports files from the Workbench to an archive file in the local file system. File System - Export files from your workspace to your local file system. Preferences - Export preferences from the Workbench. In the Export Preferences wizard, select the preferences to export and the location of the preferences .epf...
To create a new PHP project
1. From the menu bar, go to File New PHP Project -Or- In PHP Explorer view, right-click and select New PHP Project. The New PHP Project wizard is displayed. Project name - The required project name Contents - Select whether to Create a new project in the workspace - Creates a new PHP project in the workspace directory. By default a workspace will have been created in when you first launched Zend Studio. Create a project from existing source - Creates a PHP project pointing to files situatued...
To apply a quick fix suggestion
1. Open the file containing the problematic code. The line s containing code to which a quick fix can be applied will be indicated by a lightbulb icon in the vertical marker bar to the left of the editor window. See Real Time Error Detection for more information on how errors are indicated. 2. Place the cursor on the problematic code section and press Ctrl 1 -or- click the lightbulb icon in the marker bar. The Quick Fix list suggests options for fixing the code.
Using FTP and SSH
Zend Studio's FTP and SSH support is given through the RSE Remote Server Explorer plugin. Files from FTP SSH servers opened in Zend Studio can be edited using Zend Studio's PHP editing functionality such as Debugging, Profiling, Content Assist, Outline views, Formatting and Getter and Setter generation. To view and edit a file from an FTP SSH server in Zend Studio, you must first create an FTP SSH connection. There are then two ways of working with files linked to FTP SSH 1. Viewing and editing...
PHPDocs
PHPDocs provides structured, easy-to-read documentation of all your php elements. PhpDocumentor can automatically create PHPDocs from your scripts, using a templating system to change your source code comments into readable formats. The PHPDoc Generator Wizard is Zend Studio's interface with phpDocumentor. PHPDocs list all classes, functions, files and other elements in an easily-browsable format so that scripts can be easily navigated and understood. PHPDocs also incorporate PHPDoc Block...
PHP Manual Preferences
The PHP Manual preferences page sets the location of sites which allow you to access and view the PHP Manual and allows you to add, edit or remove sites. The PHP Manual contains an explanation of PHP functions. PHP Manuals can be accessed online or locally from within Zend Studio in order to provide an immediate explanation of the functionality and proper use of all PHP functions. The PHP Manual Preferences Preferences page is accessed from Window Preferences PHP PHP Manual Preferences.
To run an SQL Query on your database
1. Open the Database Development perspective by going to Window Open Perspective Other Database Development. 2. Connect to your Database by following the steps in the Connecting to a Database topic. 3. Click the Open Scrapbook icon 0 on the toolbar. A new SQL scrapbook will open. 4. Write your query in the scrapbook e.g. select from mytablename 5. To execute your query, right-click anywhere in the editor and select Execute All -or-press Ctrl Alt X. To execute only specified queries, highlight...
To locally debug a PHP Script
1. Set breakpoints at the relevant places in the file that you would like to debug by double-clicking the vertical marker bar to the left of the editor. 3. Click the arrow next to the debug button on the toolbar and select Debug Configurations -or- select Run Debug Configurations 4. Double-click the PHP Script option to create a new debug configuration. PHP Script PHP Script Arguments Environment 3 Common Debugger Location PHP executable PHP Executable PHP5 vj PHP Executables O PHP Web Server...
Importing xml Events Into Zend Studio
Zend Server events can be exported from Zend Server into a .xml event file which allows you to recreate an error when you have access to the Zend Server on which the event occurred. The event can then be imported into Zend Studio and debugged. For information about importing events using the Code Tracing feature see Working with Code Tracing. This will also allow you to import .amf event files into Zend Studio. To debug a Zend Server event when you do not have direct access to the Zend Server...






