{"id":926,"date":"2021-11-08T22:17:04","date_gmt":"2021-11-08T13:17:04","guid":{"rendered":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/?p=926"},"modified":"2021-11-08T22:17:04","modified_gmt":"2021-11-08T13:17:04","slug":"post-926","status":"publish","type":"post","link":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/archives\/926","title":{"rendered":"Zend_View\u306e\u4f7f\u3044\u65b9"},"content":{"rendered":"<p>Zend_Application\u306e\u4e00\u90e8\u3068\u3057\u3066\u3067\u306f\u306a\u304f\u3001\u5358\u72ec\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002\u5358\u4e00\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u5341\u5206\u306a\u3061\u3087\u3063\u3068\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3001HTML\u3092PHP\u304b\u3089\u9664\u304d\u305f\u3044\u3068\u304d\u306b\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<h4>index.php<\/h4>\n<pre>&lt;?php\nrequire_once(\"Zend\/View.php\");\n$View = new Zend_View(array(\n    'scriptPath' =&gt; '.', # \u3053\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u7f6e\u3044\u3066\u3042\u308b\u3068\u3053\u308d\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3002\n));\n$View-&gt;title = \"Zend_View\u306e\u30c6\u30b9\u30c8\";\necho $View-&gt;render('template.tpl');  # template.tpl\u306findex.php\u3068\u540c\u3058\u5834\u6240\u306b\u7f6e\u304f\u3002\n<\/pre>\n<h4>template.tpl<\/h4>\n<pre>&lt;?php\necho $this-&gt;doctype();  # \u30d3\u30e5\u30fc\u30d8\u30eb\u30d1\u30fc\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u3002\n?&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;?php\nprintf(\"&lt;h1&gt;%s&lt;\/h1&gt;\", $this-&gt;title);\n?&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Zend_Application\u306e\u4e00\u90e8\u3068\u3057\u3066\u3067\u306f\u306a\u304f\u3001\u5358\u72ec\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002\u5358\u4e00\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u5341\u5206\u306a\u3061\u3087\u3063\u3068\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3001HTML\u3092PHP\u304b\u3089\u9664\u304d\u305f\u3044\u3068\u304d\u306b\u4f7f\u3048\u307e\u3059\u3002 index.php &lt;?php requi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,7],"tags":[],"_links":{"self":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts\/926"}],"collection":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/comments?post=926"}],"version-history":[{"count":5,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts\/926\/revisions"}],"predecessor-version":[{"id":931,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts\/926\/revisions\/931"}],"wp:attachment":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/media?parent=926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/categories?post=926"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/tags?post=926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}