Example #1
0
 public static void EchoTagClose(object tagname, bool addNL = false)
 {
     PhpDummy.echo(TagClose(tagname));
     if (addNL)
     {
         PhpDummy.echo(PhpDummy.PHP_EOL);
     }
 }
Example #2
0
 public static void EchoTagOpenOpen(object tagname, params object[] atts)
 {
     PhpDummy.echo(TagOpenOpen(tagname, atts));
 }
Example #3
0
 public static void EchoTagBound(object tagname, object inside, params object[] atts)
 {
     PhpDummy.echo(TagBound(tagname, inside, atts));
 }
Example #4
0
 /// <summary>
 /// like 'br' or 'img'
 /// </summary>
 /// <param name="tagname"></param>
 /// <param name="atts"></param>
 /// <returns></returns>
 public static void EchoTagSingle(object tagname, params object[] atts)
 {
     PhpDummy.echo(TagSingle(tagname, atts));
 }
Example #5
0
 public Falsable <string> GetContents(bool useIncludePath = false)
 {
     return(PhpDummy.file_get_contents(FileName, useIncludePath));
 }