{"id":28310,"date":"2017-08-02T16:12:06","date_gmt":"2017-08-02T07:12:06","guid":{"rendered":"http:\/\/www.sejuku.net\/blog\/?p=28310"},"modified":"2024-05-06T11:44:13","modified_gmt":"2024-05-06T02:44:13","slug":"%e3%80%90cakephp%e5%85%a5%e9%96%80%e3%80%91hidden%e5%b1%9e%e6%80%a7%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/28310","title":{"rendered":"\u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u307f\u306a\u3055\u3093\u3053\u3093\u306b\u3061\u306f\u3001\u4e80\u7530\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001CakePHP\u306eFormHelper\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u4e00\u3064\u3001<span style=\"color: #339966\"><strong>hidden<\/strong><\/span>\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>Web\u30a2\u30d7\u30ea\u3067\u4f7f\u7528\u983b\u5ea6\u304c\u6700\u3082\u9ad8\u3044\u51e6\u7406\u306e\u4e00\u3064\u304c\u3001\u30d5\u30a9\u30fc\u30e0\u306b\u3088\u308b\u30c7\u30fc\u30bf\u306e\u9001\u53d7\u4fe1\u3067\u3059\u3002<\/p>\n<p>\u30d5\u30a9\u30fc\u30e0\u306b\u5fc5\u8981\u306a<span style=\"color: #0000ff\"><strong>input\u30bf\u30b0\u306ehidden\u5c5e\u6027\u306e\u51e6\u7406\u3092\u884c\u3046<\/strong><\/span>\u306e\u304c\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<\/p>\n<p><span style=\"color: #ff0000\"><strong>\u30fbhidden\u3068\u306a\u4f55\u304b<\/strong><\/span><\/p>\n<p>\u3068\u3044\u3063\u305f\u57fa\u672c\u7684\u306a\u5185\u5bb9\u304b\u3089<\/p>\n<p><span style=\"color: #ff0000\"><strong>\u30fbhidden\u306e\u5024\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/strong><\/span><br \/>\n<span style=\"color: #ff0000\"><strong>\u30fbhidden\u306e\u5024\u306b\u914d\u5217\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5<\/strong><\/span><\/p>\n<p>\u306a\u3069\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2>hidden\u3068\u306f<\/h2>\n<p>hidden\u306b\u3064\u3044\u3066\u8aac\u660e\u3059\u308b\u524d\u306b\u3001CakePHP\u306e<span style=\"color: #339966\"><strong>FormHelper<\/strong><\/span>\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>CakePHP\u306b\u306f\u3001\u305d\u306e\u5165\u529b\u51e6\u7406\u3092\u4ee3\u884c\u3057\u3066\u304f\u308c\u308bFormHelper\u3068\u3044\u3046\u30af\u30e9\u30b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u30a2\u30d7\u30ea\u306e\u30d7\u30ec\u30bc\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u5c64\u306e\u305f\u3081\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u3088\u3046\u306a\u30af\u30e9\u30b9\u3067\u3059\u3002<\/p>\n<p>\u540c\u69d8\u306a<span style=\"color: #339966\"><strong>Helper<\/strong><\/span>\u304c\u3064\u304f\u30af\u30e9\u30b9\u306f\u591a\u6570\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001HTML \u306b\u95a2\u9023\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3088\u308a\u7c21\u5358\u3001\u9ad8\u901f\u306b\u4f5c\u6210\u3057\u3066\u304f\u308c\u308b<span style=\"color: #ff0000\"><strong>HtmlHelper<\/strong><\/span>\u3001\u30d3\u30e5\u30fc\u306e\u4e2d\u3067\u30c6\u30ad\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u4fbf\u5229\u306a<span style=\"color: #ff0000\"><strong>TextHelper<\/strong><\/span>\u306a\u3069\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>FormHelper\u306f<span style=\"color: #0000ff\"><strong>\u30d5\u30a9\u30fc\u30e0\u3067\u7528\u3044\u3089\u308c\u308b\u69d8\u3005\u306a\u5165\u529b\u30bf\u30b0\u306b\u95a2\u3059\u308b\u64cd\u4f5c\u304c\u53ef\u80fd<\/strong><\/span>\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u4e2d\u3067\u3061\u3087\u3063\u3068\u9762\u767d\u3044\u306e\u304c\u3001<span style=\"color: #ff0000\"><strong>\u96a0\u3055\u308c\u305f\uff08=hidden\uff09<\/strong><\/span>\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306e\u51e6\u7406\u3092\u4ee3\u884c\u3059\u308b<span style=\"color: #339966\"><strong>hidden<\/strong><\/span>\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n<p>\u8a73\u3057\u3044\u8aac\u660e\u3059\u308b\u524d\u306b\u3001\u305d\u3082\u305d\u3082\u300chidden\u300d\u3068\u306f\u4f55\u304b\u3068\u3044\u3046\u3053\u3068\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u300chidden\u300d\u3068\u306f\u3001\u82f1\u8a9e\u3067<span style=\"color: #ff0000\"><strong>\u96a0\u3055\u308c\u305f<\/strong><\/span>\u3068\u3044\u3046\u3053\u3068\u3092\u610f\u5473\u3059\u308b\u5358\u8a9e\u3067\u3059\u3002<\/p>\n<p>Form\u3067\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u5165\u529b\u7528\u306e\u30bf\u30b0\u304c\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u304c\u3001\u305d\u306e\u306a\u304b\u3067\u7279\u306b\u5909\u308f\u3063\u305f\u30bf\u30b0\u304c<span style=\"color: #339966\"><strong>input\u30bf\u30b0<\/strong><\/span>\u3092\u3001<span style=\"color: #339966\"><strong>hidden<\/strong><\/span>\u5c5e\u6027\u3068\u3057\u3066\u4f7f\u3046\u65b9\u6cd5\u3067\u3059\u3002\u4f7f\u3044\u65b9\u306f\u3001<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">&lt;input type='hidden' name='num1' value='1'&gt;<\/pre>\n<p>\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3067\u3001num1\u3068\u3044\u3046\u540d\u524d\u306e\u5024\u3092\uff11\u3068\u3057\u3066\u6e21\u3059\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<p>input\u30bf\u30b0\u306ftype\u3092text\u306b\u3059\u308c\u3070\u6587\u5b57\u5217\u3092\u3001password\u306b\u3059\u308c\u3070\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u6e21\u3059\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<p>\u5c5e\u6027\u3092\u5909\u3048\u308c\u3070<span style=\"color: #0000ff\"><strong>\u30c6\u30ad\u30b9\u30c8\u5165\u529b<\/strong><\/span>\u3001<span style=\"color: #0000ff\"><strong>\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9<\/strong><\/span>\u3001<span style=\"color: #0000ff\"><strong>\u30e9\u30b8\u30aa\u30dc\u30bf\u30f3<\/strong><\/span>\u306a\u3069\u304c\u4f5c\u308c\u307e\u3059\u304c\u3001<br \/>\ntype\u3092\u3001<span style=\"color: #339966\"><strong>hidden<\/strong><\/span>\u306b\u3059\u308b\u3068\u3001\u300c\u898b\u3048\u306a\u3044\u300d\u5024\u3092\u6e21\u3059\u3053\u3068\u304c\u51fa\u6765\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u304c\u4f7f\u308f\u308c\u308b\u306e\u306f\u3001\u63d0\u4f9b\u3059\u308b\u30c7\u30fc\u30bf\u306e\u3046\u3061\u3001<span style=\"color: #0000ff\"><strong>\u30e6\u30fc\u30b6\u30fc\u306b\u898b\u305b\u308b\u5fc5\u8981\u304c\u306a\u3044\u30c7\u30fc\u30bf<\/strong><\/span>\u3092\u6e21\u3057\u305f\u3044\u3068\u304d\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u305d\u308c\u306f\u3042\u304f\u307e\u3067\u3082\u898b\u305f\u76ee\u4e0a\u306e\u3053\u3068\u3067\u3001html\u30bf\u30b0\u3068\u3057\u3066\u306f\u78ba\u304b\u306b\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001<span style=\"color: #ff0000\"><strong>HTML\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u898b\u308b\u3068\u4e2d\u8eab\u306f\u308f\u304b\u3063\u3066\u3057\u307e\u3044\u307e\u3059<\/strong><\/span>\u3002<\/p>\n<p>\u3067\u3059\u304b\u3089\u3001<span style=\"color: #ff0000\"><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u304b\u304b\u308f\u308b\u30c7\u30fc\u30bf\u306f\u5165\u308c\u3066\u306f\u3044\u3051\u307e\u305b\u3093<\/strong><\/span>\u3002<\/p>\n<p>\u306a\u304a\u3001\u3053\u3053\u3067\u7d39\u4ecb\u3057\u305fFormHelper\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u3082\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002\u3055\u3089\u306b\u77e5\u308a\u305f\u3044\u65b9\u306f\u3053\u3061\u3089\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/26279\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/image-1-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010CakePHP\u5165\u9580\u3011\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5(FormHelper)<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h3>hidden\u5c5e\u6027\u306e\u8a2d\u5b9a\u65b9\u6cd5<\/h3>\n<p>\u3053\u306e\u3088\u3046\u306b\u304b\u308f\u3063\u305finput\u30bf\u30b0\u306ehidden\u5c5e\u6027\u306a\u306e\u3067\u3059\u304c\u3001\u610f\u5916\u3068\u4f7f\u3044\u9053\u304c\u591a\u3044\u306e\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001FormHelper\u30af\u30e9\u30b9\u3067\u306f\u3001\uff11\u3064\u306e\u30e1\u30bd\u30c3\u30c9\u3068\u3057\u3066\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f7f\u3044\u65b9\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u64cd\u4f5c\u306f\u3001view\u306e\u5074\u3067\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:php decode:true \">echo $this-&gt;Form-&gt;hidden( \u540d\u524d ,['value'=&gt; \u5024 ]) ;<\/pre>\n<p>\u540d\u524d\u306e\u90e8\u5206\u304c\u3001input\u30bf\u30b0\u306ename\u3001\u5024\u304c\u3001value\u306e\u5024\u306b\u3042\u305f\u308b\u3082\u306e\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">&lt;input type='hidden' name='num' value='123' &gt;<\/pre>\n<p>\u3068\u3044\u3046\u3088\u3046\u306a\u8a2d\u5b9a\u3092\u3057\u305f\u3051\u308c\u3070\u3001<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">echo $this-&gt;Form-&gt;hidden( 'num' ,['value'=&gt;123 ]) ;<\/pre>\n<p>\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002\u306a\u304a\u3001\u3053\u306e\u5024\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u53d7\u3051\u53d6\u308b\u5834\u5408\u306f\u3001<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">$num = $this-&gt;request-&gt;data['num'];  \/\/123<\/pre>\n<p>\u3068\u3044\u3046\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<h2>hidden\u306e\u5024\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u4ee5\u4e0a\u3092\u8e0f\u307e\u3048\u3066\u3001\u5b9f\u969b\u306bhidden\u306e\u5024\u3092\u53d6\u5f97\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3092\u7d39\u4ecb\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><span style=\"color: #ff0000\"><strong>src\/template\/test\/index.ctp<\/strong><\/span><\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n\/\/index.ctp\r\n?&gt;\r\n&lt;div&gt;\r\n&lt;h1&gt;hidden\u30bf\u30b0\u306e\u30b5\u30f3\u30d7\u30eb&lt;\/h1&gt;\r\n&lt;br \/&gt;&lt;br \/&gt;\r\n&lt;?php echo $this-&gt;Form-&gt;create(false, array('type' =&gt; 'post', 'url' =&gt; '\/test')); ?&gt;\r\n    &lt;?php echo $this-&gt;Form-&gt;text('SampleForm.text1'); ?&gt;\r\n    &lt;br \/&gt;\r\n    &lt;?php echo $this-&gt;Form-&gt;checkbox('SampleForm.\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9', array('checked' =&gt; true)); ?&gt;\r\n    &lt;?php echo $this-&gt;Form-&gt;label('SampleForm.\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9'); ?&gt;\r\n    &lt;br \/&gt;\r\n    &lt;?php echo $this-&gt;Form-&gt;radio('SampleForm.radio1',\r\n        array('\u65e5\u672c' =&gt; 'Japan',\r\n            '\u30a2\u30e1\u30ea\u30ab' =&gt; 'America',\r\n            '\u4e2d\u56fd' =&gt; 'China'),\r\n        array('legend' =&gt; '\u56fd\u3092\u9078\u629e', 'value' =&gt; '\u65e5\u672c')\r\n    ); ?&gt;\r\n    &lt;br \/&gt;\r\n    &lt;?php echo $this-&gt;Form-&gt;hidden('SampleForm.hidden1',['value'=&gt;1 ]); ?&gt;\r\n    &lt;br \/&gt;\r\n    &lt;?php echo $this-&gt;Form-&gt;submit('\u9001\u4fe1'); ?&gt;\r\n    &lt;p&gt;&lt;?php echo $result; ?&gt;&lt;\/p&gt;\r\n&lt;?php echo $this-&gt;Form-&gt;end(); ?&gt;\r\n&lt;\/div&gt;<\/pre>\n<p><span style=\"color: #ff0000\"><strong>src\/template\/layout\/test.ctp<\/strong><\/span><\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n\/\/test.ctp\r\n?&gt;\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n    &lt;?= $this-&gt;Html-&gt;charset() ?&gt;\r\n \r\n    &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"&gt;\r\n    &lt;title&gt;\r\n    &lt;\/title&gt;\r\n    &lt;?= $this-&gt;Html-&gt;meta('icon') ?&gt;\r\n \r\n    &lt;?= $this-&gt;Html-&gt;css('test.css') ?&gt;\r\n \r\n    &lt;?= $this-&gt;Html-&gt;script('test.js') ?&gt;\r\n \r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n  &lt;?= $this-&gt;fetch('content') ?&gt;\r\n \r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p><span style=\"color: #ff0000\"><strong>src\/controller\/TestController.php<\/strong><\/span><\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\nnamespace App\\Controller;\r\n \r\nuse Cake\\Core\\Configure;\r\nuse Cake\\Network\\Exception\\ForbiddenException;\r\nuse Cake\\Network\\Exception\\NotFoundException;\r\nuse Cake\\View\\Exception\\MissingTemplateException;\r\n \r\nclass TestController extends AppController\r\n{\r\n    \/\/ \u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u540d\r\n    public $name = 'Test';\r\n    \/\/ \u30e2\u30c7\u30eb\u3092\u6307\u5b9a\u3057\u306a\u3044\r\n    public $uses = null;\r\n    \/\/ \u30ec\u30a4\u30a2\u30a6\u30c8\u3068\u3057\u3066Layouts \u30d5\u30a9\u30eb\u30c0\u306e\u3001test.ctp \u3092\u4f7f\u7528\u3002\r\n    \/\/public $layout = 'test';\r\n \r\n    public function index() {\r\n        $result = '';\r\n \r\n        if ($this-&gt;request-&gt;isPost()) {\r\n            $result = '&lt;pre&gt;\u9001\u4fe1\u3055\u308c\u305f\u60c5\u5831&lt;br \/&gt;';\r\n            foreach ($this-&gt;request-&gt;data['SampleForm'] as $key =&gt; $val) {\r\n                if(is_array($val)){\r\n                    $result .= $key . ' =&gt; ' . print_r( $val,true) . '&lt;br \/&gt;';\r\n                } else {\r\n                    $result .= $key . ' =&gt; ' . $val . '&lt;br \/&gt;';\r\n                }\r\n\r\n            }\r\n            $result .= '&lt;\/pre&gt;';\r\n        } else {\r\n            $result = '\u203b\u4f55\u304b\u66f8\u3044\u3066\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044';\r\n        }\r\n        $this-&gt;set('result', $result);\r\n    }\r\n \r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<div id=\"attachment_86143\" style=\"width: 710px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" aria-describedby=\"caption-attachment-86143\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/cakephp_hidden2.png\" alt=\"\" width=\"700\" height=\"474\" class=\"size-full wp-image-86143\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/cakephp_hidden2.png 700w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/cakephp_hidden2-150x102.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/cakephp_hidden2-300x203.png 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/cakephp_hidden2-640x433.png 640w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><p id=\"caption-attachment-86143\" class=\"wp-caption-text\">\u5b9f\u884c\u7d50\u679c<\/p><\/div><br \/>\n\u9001\u4fe1\u3055\u308c\u305f\u60c5\u5831\u306f\u3001\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">\u9001\u4fe1\u3055\u308c\u305f\u60c5\u5831\r\ntext1 =&gt;\r\n\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9 =&gt; 1\r\nradio1 =&gt; \u4e2d\u56fd\r\nhidden1 =&gt; 1<\/pre>\n<p>\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306a\u3069\u306e\u64cd\u4f5c\u3092\u884c\u3063\u3066\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u3001\u5165\u529b\u7d50\u679c\u304c\u753b\u9762\u306b\u73fe\u308c\u307e\u3059\u3002<\/p>\n<p>\u4e2d\u306b\u306f\u3001\u753b\u9762\u4e0a\u306b\u73fe\u308c\u306a\u3044<span style=\"color: #ff0000\"><strong>hidden=&gt;1<\/strong><\/span>\u3068\u3044\u3046\u7d50\u679c\u3082\u73fe\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u90e8\u5206\u3092\u69cb\u6210\u3057\u3066\u3044\u308b\u306e\u304c\u3001hidden\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u8a73\u7d30\u3092\u8aac\u660e\u3057\u3066\u3044\u304f\u3053\u3068\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>index.tcp\u306e\u4e2d\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u306e\u304c\u3001<span style=\"color: #339966\"><strong>FormHelper<\/strong><\/span>\u3067\u3059\u3002<span style=\"color: #0000ff\"><strong>\u30d5\u30a9\u30fc\u30e0\u306e\u958b\u59cb<\/strong><\/span>\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \"> $this-&gt;Form-&gt;create(false, array('type' =&gt; 'post', 'url' =&gt; '\/test'));<\/pre>\n<p>type\u304c\u3001\u9001\u4fe1\u306e\u7a2e\u985e\uff08get\/post)\u3092\u8868\u3057\u3001url\u304c\u9001\u4fe1\u5148\u3092\u6307\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>type\u304cpost\u306a\u306e\u3067\u3001post\u9001\u4fe1\u3001\u9001\u4fe1\u5148\u304c\u300c\/test\u300d\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u9001\u4fe1\u5148\u306f\u81ea\u5206\u81ea\u8eab\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001<span style=\"color: #0000ff\"><strong>\u30d5\u30a9\u30fc\u30e0\u306e\u6700\u5f8c<\/strong><\/span>\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7de0\u3081\u304f\u304f\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">&lt;?php echo $this-&gt;Form-&gt;end(); ?&gt;<\/pre>\n<p>\u3053\u306e\u4e2d\u306b\u3001input\u3084textarea\u306a\u3069\u3068\u3044\u3063\u305f\u3088\u3046\u306a\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u5165\u529b\u306b\u5fc5\u8981\u306a\u69d8\u3005\u306a\u30bf\u30b0\u3092\u8a2d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a9\u30fc\u30e0\u306e\u751f\u6210\u306bFormHelper\u3092\u7528\u3044\u306a\u304f\u3066\u306f\u306a\u3089\u306a\u3044\u3068\u3044\u3046\u6c7a\u307e\u308a\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u898b\u308c\u3070\u308f\u304b\u308b\u3088\u3046\u306b\u7528\u3044\u305f\u307b\u3046\u304c\u4f55\u304b\u3068\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001hidden\u3092\u4f7f\u3063\u305f\u30c7\u30fc\u30bf\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \"> &lt;?php echo $this-&gt;Form-&gt;hidden('SampleForm.hidden1',['value'=&gt;1 ]); ?&gt;<\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001<span style=\"color: #0000ff\"><strong>SampleForm.hidden1<\/strong><\/span>\u306e\u5024\u304c<span style=\"color: #0000ff\"><strong>1<\/strong><\/span>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u6570\u5024\u3092\u6271\u3063\u3066\u3044\u307e\u3059\u304c\u3001<span style=\"color: #0000ff\"><strong>\u6587\u5b57\u5217\u306a\u3069\u3082\u540c\u69d8\u306e\u51e6\u7406\u3092\u884c\u3044\u307e\u3059<\/strong><\/span>\u3002<\/p>\n<h2>hidden\u306e\u5024\u306b\u914d\u5217\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5<\/h2>\n<h3>\u914d\u5217\u306e\u5024\u3092hidden\u306b\u8a2d\u5b9a\u3059\u308b<\/h3>\n<p>\u307e\u305f\u3001<span style=\"color: #ff0000\"><strong>hidden\u306e\u30c7\u30fc\u30bf\u3068\u3057\u3066\u914d\u5217\u3092\u8a2d\u5b9a<\/strong><\/span>\u3057\u305f\u3044\u3088\u3046\u306a\u30b1\u30fc\u30b9\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u6b21\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:php decode:true \">    &lt;?php\r\n        echo $this-&gt;Form-&gt;hidden('SampleForm.a[]', array('value' =&gt; 1));\r\n        echo $this-&gt;Form-&gt;hidden('SampleForm.a[]', array('value' =&gt; 2));\r\n        echo $this-&gt;Form-&gt;hidden('SampleForm.a[]', array('value' =&gt; 3));\r\n    ?&gt;<\/pre>\n<p>\u3053\u308c\u306f\u3001\u5b9f\u884c\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:php decode:true \">\u3000&lt;input type=&quot;hidden&quot; name=&quot;SampleForm[a][]&quot; value=&quot;1&quot;&gt;\r\n\u3000&lt;input type=&quot;hidden&quot; name=&quot;SampleForm[a][]&quot; value=&quot;2&quot;&gt;\r\n\u3000&lt;input type=&quot;hidden&quot; name=&quot;SampleForm[a][]&quot; value=&quot;3&quot;&gt;<\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001<span style=\"color: #0000ff\"><strong>Controller\u5074\u3067\u53d7\u3051\u53d6\u308b\u3068\u304d\u306f\u3001\u914d\u5217\u3068\u3057\u3066\u53d7\u3051\u53d6\u308b<\/strong><\/span>\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<p>a[0],a[1],a[2]\u306e\u5024\u306f\u305d\u308c\u305e\u308c1,2,3\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u914d\u5217\u3068\u3057\u3066\u30c7\u30fc\u30bf\u3092\u9001\u308b\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u306a\u30b1\u30fc\u30b9\u3067\u306f\u3001hidden\u306e\u307f\u306a\u3089\u305a\u540c\u69d8\u306e\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n\u5b9f\u969b\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f\u3068\u304d\u306f\u3001for\u6587\u306a\u3069\u306e\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3092\u7528\u3044\u3066\u30c7\u30fc\u30bf\u3092\u751f\u6210\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u305d\u3046\u3059\u308c\u3070\u3001\u7c21\u5358\u306b\u914d\u5217\u30c7\u30fc\u30bf\u3092\u9001\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4ee5\u4e0a\u304c\u3001hidden\u30e1\u30bd\u30c3\u30c9\u306e\u8aac\u660e\u3067\u3057\u305f\u304c\u3001\u7686\u3055\u3093\u3044\u304b\u304c\u3060\u3063\u305f\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>hidden\u306f\u30d5\u30a9\u30fc\u30e0\u5185\u306e\u30bf\u30b0\u3092\u4f5c\u308b\u306e\u306b\u7528\u3044\u3089\u308c\u307e\u3059\u304c\u3001<span style=\"color: #0000ff\"><strong>\u30e6\u30fc\u30b6\u30fc\u304c\u76f4\u63a5\u8996\u8a8d\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u7279\u5fb4<\/strong><\/span>\u3067\u3059\u3002<br \/>\nController\u3092\u4ecb\u3057\u3066\u8907\u6570\u30da\u30fc\u30b8\u306e\u9593\u3067\u30c7\u30fc\u30bf\u306e\u3084\u308a\u53d6\u308a\u3092\u3057\u305f\u3044\u3068\u304d\u306b\u3001\u975e\u5e38\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>CakePHP\u3067hidden\u3092\u6d3b\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u3001\u305c\u3072\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u307f\u306a\u3055\u3093\u3053\u3093\u306b\u3061\u306f\u3001\u4e80\u7530\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001CakePHP\u306eFormHelper\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u4e00\u3064\u3001hidden\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002 Web\u30a2\u30d7\u30ea\u3067\u4f7f\u7528\u983b\u5ea6\u304c\u6700\u3082\u9ad8\u3044\u51e6\u7406\u306e\u4e00\u3064\u304c\u3001\u30d5\u30a9\u30fc\u30e0\u306b\u3088\u308b\u30c7\u30fc\u30bf\u306e\u9001\u53d7\u4fe1\u3067\u3059\u3002 \u30d5\u30a9\u30fc\u30e0\u306b [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":28314,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2348],"tags":[],"class_list":["post-28310","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php-study"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/28310\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/28310\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/sejuku2013\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-02T07:12:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:44:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/image18.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/28310#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/28310\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"\u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\",\"datePublished\":\"2017-08-02T07:12:06+00:00\",\"dateModified\":\"2024-05-06T02:44:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/28310\"},\"wordCount\":117,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/28310#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/07\\\/image18.jpg\",\"articleSection\":[\"PHP\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/28310\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/28310\",\"name\":\"\u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/28310#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/28310#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/07\\\/image18.jpg\",\"datePublished\":\"2017-08-02T07:12:06+00:00\",\"dateModified\":\"2024-05-06T02:44:13+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/28310#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/28310\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/28310#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/07\\\/image18.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/07\\\/image18.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/28310#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\"},\"description\":\"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\\\/Web\u958b\u767a\\\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\\\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\\\/\u30b2\u30fc\u30e0\u958b\u767a\\\/AI\\\/Web\u30c7\u30b6\u30a4\u30f3\",\"sameAs\":[\"https:\\\/\\\/www.sejuku.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\\\/\",\"https:\\\/\\\/www.instagram.com\\\/samuraiengineer_official\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\"],\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-blog\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/28310","og_locale":"ja_JP","og_type":"article","og_title":"\u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/28310","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_author":"https:\/\/www.facebook.com\/sejuku2013\/","article_published_time":"2017-08-02T07:12:06+00:00","article_modified_time":"2024-05-06T02:44:13+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/image18.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/28310#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/28310"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"\u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5","datePublished":"2017-08-02T07:12:06+00:00","dateModified":"2024-05-06T02:44:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/28310"},"wordCount":117,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/28310#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/image18.jpg","articleSection":["PHP\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/28310","url":"https:\/\/www.sejuku.net\/blog\/28310","name":"\u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/28310#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/28310#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/image18.jpg","datePublished":"2017-08-02T07:12:06+00:00","dateModified":"2024-05-06T02:44:13+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/28310#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/28310"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/28310#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/image18.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/image18.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/28310#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","caption":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8"},"description":"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\/Web\u958b\u767a\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\/\u30b2\u30fc\u30e0\u958b\u767a\/AI\/Web\u30c7\u30b6\u30a4\u30f3","sameAs":["https:\/\/www.sejuku.net\/","https:\/\/www.facebook.com\/sejuku2013\/","https:\/\/www.instagram.com\/samuraiengineer_official\/","https:\/\/x.com\/https:\/\/twitter.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g"],"url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-blog"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/28310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=28310"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/28310\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/28314"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=28310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=28310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=28310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}