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