Common tests utilities adn decorators.
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / src / net / sourceforge / phpdt / httpquery / PHPHelpAction.java
1 package net.sourceforge.phpdt.httpquery;
2
3 import net.sourceforge.phpdt.httpquery.config.Configuration;
4 import net.sourceforge.phpdt.httpquery.config.ConfigurationWorkingCopy;
5 import net.sourceforge.phpdt.phphelp.PHPHelpPlugin;
6
7 public class PHPHelpAction extends HTTPQueryAction {
8
9         public PHPHelpAction() {
10                 super();
11         }
12
13         protected Configuration getConfiguration(String name) {
14                 Configuration conf = super.getConfiguration("PHP Manual");
15                 if (conf != null) {
16                         return conf;
17                 }
18                 ConfigurationWorkingCopy config = new ConfigurationWorkingCopy();
19                 config.setName("PHP Manual");
20                 config
21                                 .setURL("http://www.php.net/manual/en/function.$php.selection.php");
22                 config.setType(PHPHelpPlugin.HTTP_QUERY);
23                 return config;
24         }
25 }