Improved calculation of function/methods sourceEnd for code folding
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.sql / src / net / sourceforge / phpdt / sql / IConstants.java
1 package net.sourceforge.phpdt.sql;
2
3 /**
4  * @author khartlage
5  *.
6  */
7 public interface IConstants {
8   public boolean DEBUG = false;
9   public final String PHPFILEHEADER = "<?php%%NL%%echo '<html>';%%NL%%echo '<head>';%%NL%%echo '<meta name=\"PHPEclipse-generated\" content=\"PHPEclipse\">';%%NL%%echo '<title>Database access</title>';%%NL%%echo '</head><body>';%%NL%%?>%%NL%%";
10   public final String PHPDBCONNHEADER = "%%NL%%$dbconn = mysql_connect(%%CONNLIST%%) or die(\"Could not connect to database\");%%NL%%$db = mysql_select_db(%%DBNAME%%, $dbconn) or die(\"Database not found\");%%NL%%";
11   public final String PHPDBRESULTHEADER = "$result = mysql_query(%%QUERY%%);%%NL%%";
12   public final String PHPDBCLOSEHEADER = "mysql_close($dbconn);%%NL%%exit;%%NL%%?>%%NL%%";
13 }