1 package net.sourceforge.phpeclipse.resourcesview;
3 import org.eclipse.core.resources.IFile;
4 import org.eclipse.core.resources.IResource;
7 * Represents an entire PHP (<code>.php</code> source file).
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";
17 protected IFile underlyingFile;
19 public PHPFile(IFile theUnderlyingFile) {
21 underlyingFile = theUnderlyingFile;
24 public IResource getUnderlyingResource() {
25 return underlyingFile;