added StringAutoIndentStrategy for single quoted strings
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / preferences / ColorSettingPreviewCode.txt
index d7615dd..c89390a 100644 (file)
@@ -1,13 +1,19 @@
-<?php
+<?php 
 /**
  * This is about <code>ClassName</code>.
- * {@link com.yourCompany.aPackage.SuperClass}
+ * 
  * @author author
  */
 class ClassName extends SuperClass {
        /* This comment may span multiple lines. */
-       $integer= 0;
+       private $integer = 0;
        // This comment may span only this line
-       $string= "zero";
+       private $string = "zero";
+
+       public function info() {
+               # call a predefined php function
+               phpinfo();
+               return "test";
+       }
 }
 ?>
\ No newline at end of file