You are here: User Guide > Reference > PHP Perspective Menus > New

New Submenu

The New submenu is available under File | New from the Menu Bar.

Note:

The options available in the New Menu for the current perspective can be configured through the Customize Perspectives option in the Window Menu.

The options available under the New submenu are:

Name

Description

PHP Project from Git

Creates a new PHP project in your workspace by importing an existing Git project.

PHP Project from GitHub

Creates a new PHP project in your workspace by importing an existing GitHub project.

PHP Project from Zend Developer Cloud

Creates a new PHP project in your workspace by importing an existing project on the Zend Developer Cloud.

PHP Project from SVN

Creates a new PHP project in your workspace by importing an existing SVN project.

Local PHP Project

Creates a new local PHP project in your workspace.

PHP Project from Existing Directory

Creates a new PHP project in your workspace from an existing directory.

PHP Project from Remote Server

Creates a new PHP project in your workspace from a remote server.

Project...

Displays the Create New Project - Select a Wizard dialog to creates a new project in your workspace.

PHPUnit Test Case

Creates a new PHPUnit Test Case.
See PHPUnit Testing for more information.

PHPUnit Test Suite

Creates a new PHPUnit Test Suite..
See PHPUnit Testing for more information.

Class

Inserts a new PHP Class within existing or new files, including the required modifiers, Superclasses, interfaces, method stubs, comments etc.

Interface

Creates a new PHP Interface within existing or new files.
The PHP Interface creation wizard allows you to include PHP Doc Blocks in your interface, as well as extending other interfaces.

Trait

Creates a new PHP trait.

The Create a New Trait wizard allows you to select a source folder, create a new file, and configure the new trait.

Remote Folder

Creates a new Remote Folder with a remote system connection, See Viewing and Editing FTP Files in your Workspace for more information.

Java Script File

Creates a new JavaScript file.

PHP File

Creates a new file with PHP tags. Allows full PHP functionality.

Untitled PHP File

Creates a new untitled file with PHP tags. Allows full PHP functionality.

Folder

 

Creates a new folder within a project.

The new folder can be linked to a folder in the files system by clicking on the Advanced button in the new folder creation dialog. Using this option will insert an existing folder into your workspace folder. Any changes made to the files and folders in your workspace will automatically be reflected in the local versions of the files in your file system.

File

Creates a new file resource.

CSS File

Inserts a cascading style sheet into a project.

HTML File

Creates a new HTML file within a project, which allows the utilization of HTML functionality.

XML File

Creates a new XML file within a project, which allows the utilization of XML functionality.

Untitled Text File

Creates a new untitled text file.

Zend Framework Item

Creates a new Project with Zend Framework's libraries in the Include Path and files to create a basic "Hello, World!" application.

For more on Zend Framework, visit the Zend Framework site at http://framework.zend.com

For more on using Zend Framework with Zend Studio , see " Zend Framework Integration ".

Task

Creates new repositories using the Task Repository view.

Zend Framework Item

Opens a New Zend Framework Item wizard which allows you to launch the Wizards for creating a Zend Controller , Zend Model , Zend Module , Zend View and Zend View Helper .

Example

Creates the following example projects in your workspace:

  • JavaScript - Inserts a JavaScript example project into the workspace.

    XML - Inserts an XML example project into the workspace.

  • Zend Framework - Zend Framework is a high quality open source framework for developing Web Applications and Web Services with PHP. The Zend Framework is a collection of common PHP classes and infrastructure which sits above the PHP layer. It packages classes and code, used for common functions such as connecting to databases and creating PDF's, into one easy-to use application.
    For more on using the Zend Framework example, see the Zend Framework tutorial. This is contained in a readme.html file within the readme folder of the ZendFrameworkExample project. To view the file, right-click it in PHP Explorer view and select Open With | Web Browser.
    For more information on Zend Framework, see http://framework.zend.com.

Other

 

Allows access to all other types of items not in the main list.

To configure which items will be available from the main list, in the menu bar, go to Window | Customize Perspective.

The options in the list are divided into categories:

  • General - Faceted Project, File, Folder, JavaScript File, Project, Remote Folder, Untitled Text File

  • Connection Profiles - Connection Profile, Connection Profile Repository

  • Eclipse Modeling Framework - Ecore Model, EMF Generator Model, EMF Project, Empty EMF Project, Mapping

  • Example EMF Model Creation Wizards - Ecore Model, Ecore to Ecore Model, Ecore to XML Model, XSD Model, ZSD to Ecore Model

  • Java - Annotation, Class, Enum, Interface, Java Project, Java Working Set, Package, Source Folder, Java Run/Debug

  • Java Emitter Templates - Convert Projects to JET Projects

  • JavaScript - JavaScript Project, JavaScript Source File
  • PHP - Class, Interface, Local PHP Project, PHP File, PHP Project from CVS, PHP Project Existing Directory, PHP Project from Git, PHP Project from GitHub, PHP Project from Remote Server, PHP Project from SVN, PHP Project from Zend Developer Cloud, Trait, Untitled PHP File, Zend Framework Item, PHP Unit - PHPUnit Test Case, PHPUnit Test Suite

  • Remote System Explorer - Connection

  • SQL Development - SQL File

  • SVN - Projects from SVN, Repository Location

  • Web - CSS, HTML, JavaScript, Static Web Project

  • XML - DTD, XML, XML Schema

  • Zend Framework - Zedn Action Helper, Zend Controller (Template Based), Zend Controller (Zend Tool Based), Zend Module, Zend Table, Zend View, Zend View Helper
  • Examples - GEF (Graphical Editing Framework) Plug-ins, XML, Zend Framework

 

 

Related Links:

Menus

File
Import

Export

Edit

Source

Refactor

Navigate

Search

Project

Run

Window

Help

 

 

©1999-2012 Zend Technologies LTD. All rights reserved.