The variable name is now an expression ... I know it's strange but in php you can...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / resourcesview / PHPFile.java
1 package net.sourceforge.phpeclipse.resourcesview;
2
3 import org.eclipse.core.resources.IFile;
4 import org.eclipse.core.resources.IResource;
5
6 /**
7  * Represents an entire PHP (<code>.php</code> source file).
8  */
9 public class PHPFile implements PHPElement {
10         public static final String EXTENSION = "php";
11   public static final String EXTENSION1 = "php3";
12   public static final String EXTENSION2 = "php4";
13   public static final String EXTENSION3 = "inc";
14   public static final String EXTENSION4 = "html";
15   public static final String EXTENSION5 = "htm";
16
17         protected IFile underlyingFile;
18
19         public PHPFile(IFile theUnderlyingFile) {
20                 super();
21                 underlyingFile = theUnderlyingFile;
22         }
23
24         public IResource getUnderlyingResource() {
25                 return underlyingFile;
26         }
27
28 }