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