--- /dev/null
+package net.sourceforge.phpeclipse.resourcesview;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IResource;
+
+/**
+ * Represents an entire PHP (<code>.php</code> source file).
+ */
+public class PHPFile implements PHPElement {
+ public static final String EXTENSION = "php";
+ public static final String EXTENSION1 = "php3";
+ public static final String EXTENSION2 = "php4";
+ public static final String EXTENSION3 = "inc";
+ public static final String EXTENSION4 = "html";
+ public static final String EXTENSION5 = "htm";
+
+ protected IFile underlyingFile;
+
+ public PHPFile(IFile theUnderlyingFile) {
+ super();
+ underlyingFile = theUnderlyingFile;
+ }
+
+ public IResource getUnderlyingResource() {
+ return underlyingFile;
+ }
+
+}