Advertisement
Guest User

Untitled

a guest
Oct 24th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. * aplication start file
  5. *
  6. * @author Hiroyuki Takai <watashitakai@gmail.com>
  7. * @since 2019/09/
  8. */
  9.  
  10. require_once __DIR__ . '/../../news2/config.php';
  11. require_once __DIR__ . '/../../framework2/runfirst.php';
  12.  
  13. use function framework2\hs;
  14. use framework2\lib\html_view\HtmlDts;
  15. use news2\views\Create2sec1;
  16.  
  17. $render_fname = "Create2sec1"; # 拡張子はつけない
  18. $file = 'template_2'; # テンプレートファイル、拡張子はつけない
  19. $id_name = "my_test3";
  20. $title = "タグを生成しないケース";
  21.  
  22. $dts = ["今日はチラシ寿司",
  23. "明日はカレーうどんだ!",
  24. ];
  25.  
  26. $htmldts = new HtmlDts($title, $id_name, $dts);
  27. $htmldts->display($render_fname, $file, $htmldts);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement