Beispiel #1
0
 public static void EchoTagClose(object tagname, bool addNL = false)
 {
     PhpDummy.echo(TagClose(tagname));
     if (addNL)
     {
         PhpDummy.echo(PhpDummy.PHP_EOL);
     }
 }
Beispiel #2
0
 public static void EchoTagOpenOpen(object tagname, params object[] atts)
 {
     PhpDummy.echo(TagOpenOpen(tagname, atts));
 }
Beispiel #3
0
 public static void EchoTagBound(object tagname, object inside, params object[] atts)
 {
     PhpDummy.echo(TagBound(tagname, inside, atts));
 }
Beispiel #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));
 }
Beispiel #5
0
 public Falsable <string> GetContents(bool useIncludePath = false)
 {
     return(PhpDummy.file_get_contents(FileName, useIncludePath));
 }