{"id":569,"date":"2011-01-16T04:17:52","date_gmt":"2011-01-15T19:17:52","guid":{"rendered":"http:\/\/blog.t-szk.com\/?p=569"},"modified":"2020-08-23T20:01:36","modified_gmt":"2020-08-23T11:01:36","slug":"movable-typemtsetvarblock%e3%82%bf%e3%82%b0%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%99%82%e3%81%af%e6%94%b9%e8%a1%8c%e3%82%92%e5%90%ab%e3%81%be%e3%81%aa%e3%81%84%e3%82%88%e3%81%86%e3%81%ab","status":"publish","type":"post","link":"https:\/\/codaholic.org\/?p=569","title":{"rendered":"[Movable Type] MTSetVarBlock \u30bf\u30b0\u3092\u4f7f\u7528\u3059\u308b\u6642\u306f\u6539\u884c\u3092\u542b\u307e\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f\u3059\u308b"},"content":{"rendered":"<p>MT \u30bf\u30b0\u3067\u51fa\u529b\u3055\u308c\u305f\u5024\u3092\u5909\u6570\u306b\u683c\u7d0d\u3059\u308b\u6642\u306b\u4fbf\u5229\u306a MTSetVarBlock \u30bf\u30b0\u3067\u3059\u304c\u3001\u4f7f\u7528\u3059\u308b\u6642\u306e\u6ce8\u610f\u70b9\u306e\u4e00\u3064\u306b\u300c\u6539\u884c\u3092\u542b\u3081\u306a\u3044\u300d\u3053\u3068\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u4f8b\u3048\u3070\u6587\u5b57\u5217 something \u3092\u5909\u6570 hoge \u306b\u683c\u7d0d\u3057\u3001MTIf \u3067\u6bd4\u8f03\u3092\u3059\u308b\u969b\u306b\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3059\u308b\u3068\u3001FALSE \u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002MTGetVar \u3067\u5909\u6570 hoge \u306e\u4e2d\u8eab\u3092\u898b\u3066\u307f\u308b\u3068\u3001\u4e21\u7aef\u306b\u534a\u89d2\u30b9\u30da\u30fc\u30b9(\u6050\u3089\u304f\u4e2d\u8eab\u306f\u6539\u884c\u30b3\u30fc\u30c9)\u304c\u542b\u307e\u308c\u3066\u304a\u308a\u3001\u305d\u306e\u5f71\u97ff\u3067\u6bd4\u8f03\u304c\u5931\u6557\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-html\">&lt;MTSetVarBlock name=\"hoge\"&gt;\nsomething\n&lt;\/MTSetVarBlock&gt;\n&lt;MTIf name=\"hoge\" eq=\"something\"&gt;\nTRUE\n&lt;MTElse&gt;\nFALSE\n&lt;\/MTIf&gt;\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u6bd4\u8f03\u7d50\u679c\u3092\u671b\u307e\u306a\u3044\u5834\u5408\u3001MTSetVarBlock\u30bf\u30b0\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u6539\u884c\u3092\u542b\u307e\u306a\u3044\u304b\u305f\u3061\u3067\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code>&lt;MTSetVarBlock name=\"hoge\"&gt;something&lt;\/MTSetVarBlock&gt;\n&lt;MTIf name=\"hoge\" eq=\"something\"&gt;\nTRUE\n&lt;MTElse&gt;\nFALSE\n&lt;\/MTIf&gt;\n<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068 TRUE \u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MT \u30bf\u30b0\u3067\u51fa\u529b\u3055\u308c\u305f\u5024\u3092\u5909\u6570\u306b\u683c\u7d0d\u3059\u308b\u6642\u306b\u4fbf\u5229\u306a MTSetVarBlock \u30bf\u30b0\u3067\u3059\u304c\u3001\u4f7f\u7528\u3059\u308b\u6642\u306e\u6ce8\u610f\u70b9\u306e\u4e00\u3064\u306b\u300c\u6539\u884c\u3092\u542b\u3081\u306a\u3044\u300d\u3053\u3068\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[10],"tags":[249,102,100],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8gd1W-9b","_links":{"self":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts\/569"}],"collection":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=569"}],"version-history":[{"count":7,"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts\/569\/revisions"}],"predecessor-version":[{"id":2500,"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts\/569\/revisions\/2500"}],"wp:attachment":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}