{"id":30851,"date":"2017-08-24T14:54:35","date_gmt":"2017-08-24T05:54:35","guid":{"rendered":"http:\/\/www.sejuku.net\/blog\/?p=30851"},"modified":"2024-05-06T11:44:38","modified_gmt":"2024-05-06T02:44:38","slug":"%e3%80%90cakephp%e5%85%a5%e9%96%80%e3%80%91%e3%83%93%e3%83%a5%e3%83%bcview%e3%81%ae%e5%9f%ba%e6%9c%ac%e3%80%9c%e4%be%bf%e5%88%a9%e6%a9%9f%e8%83%bd%e3%82%92%e5%be%b9%e5%ba%95%e8%a7%a3%e8%aa%ac","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/30851","title":{"rendered":"\u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01"},"content":{"rendered":"<p>\u30d5\u30a9\u30fc\u30e0\u3092\u8868\u793a\u3057\u305f\u308a\u3001\u30c6\u30fc\u30d6\u30eb\u3084\u30e6\u30fc\u30b6\u30fc\u304c\u5165\u529b\u3057\u305f\u30c7\u30fc\u30bf\u3092\u8868\u793a\u3059\u308b\u306b\u306fCakePHP\u306eMVC\u30e2\u30c7\u30eb\u306eView\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306fView\u306b\u3064\u3044\u3066\u3001<br \/>\n<div class=\"box01\"><\/p>\n<ul>\n<li><b>View\u3068\u306f\uff1f<\/b><\/li>\n<li><b>View\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u306a\u3069\u306e\u57fa\u672c\u7684\u306a\u5185\u5bb9\u304b\u3089\u3001<br \/>\n<div class=\"box01\"><\/p>\n<ul>\n<li><b>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8aad\u307f\u8fbc\u307f\u51fa\u529b\u3059\u308b\u65b9\u6cd5<\/b><\/li>\n<li><b>FormHelper\u3067\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/b><\/li>\n<li><b>QueryBuilder\u306e\u4f7f\u3044\u65b9<\/b><\/li>\n<li><b>HtmlHelper\u306elink\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9<\/b><\/li>\n<li><b>\u30ec\u30a4\u30a2\u30a6\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u6d3b\u7528(Layout)<\/b><\/li>\n<li><b>\u4ed6\u306e\u30d3\u30e5\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5(render)<\/b><\/li>\n<li><b>\u30a8\u30ec\u30e1\u30f3\u30c8\u306e\u4f7f\u3044\u65b9(element)<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u306a\u3069\u306e\u5fdc\u7528\u7684\u306a\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3082\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u305d\u3093\u306a<strong>View\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u4fbf\u5229\u306a\u6a5f\u80fd\u307e\u3067\u3092\u7db2\u7f85\u7684\u306b\u89e3\u8aac<\/strong>\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n<h2>View\u3068\u306f<\/h2>\n<p>\u30d3\u30e5\u30fc\uff08View\uff09\u3068\u306fCakePHP\u306eMVC\uff08Model View Controller\uff09\u30e2\u30c7\u30eb\u306eV\u306b\u3042\u305f\u308a\u307e\u3059\u3002\u4e3b\u306bWeb\u30da\u30fc\u30b8\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u7d50\u679c\u3092\u51fa\u529b\u3001\u8868\u793a\u3059\u308b\u5f79\u5272\u3092\u6301\u3061\u307e\u3059\u3002\u30d3\u30e5\u30fc\u306fCakePHP3.x\u7cfb\u3067\u306f<strong>\u300cCake\/src\/Template\u300d\u4ee5\u4e0b\u306b\u62e1\u5f35\u5b50.ctp\u3067\u4f5c\u6210<\/strong>\u3057\u307e\u3059\u3002<\/p>\n<h3>View\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/h3>\n<p>\u3053\u3053\u3067\u306f\u5b9f\u969b\u306b\u30d3\u30e5\u30fc\u306e\u4f7f\u3044\u65b9\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\u4ee5\u4e0b\u3067\u306f\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u304b\u3089\u6e21\u3055\u308c\u305f\u5909\u6570\u3092\u3001\u30d3\u30e5\u30fc\u3067\u51fa\u529b\u3059\u308b\u7c21\u5358\u306a\u30b5\u30f3\u30d7\u30eb\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\u307e\u305a\u306fCake\/src\/Controller\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>SampleController.php<\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\nnamespace AppController;\r\n\r\nuse AppControllerAppController;\r\n\r\nclass SampleController extends AppController\r\n{\r\n\r\n  public function index() {\r\n\r\n    $text = '\u3053\u306e\u6587\u5b57\u5217\u3092View\u306b\u51fa\u529b\u3057\u307e\u3059\u3002';\r\n\r\n    $this-&gt;set('text', $text);\r\n\r\n  }\r\n}\r\n<\/pre>\n<p>SampleController.php\u3067\u306f\u3001\u30d3\u30e5\u30fc\u306b\u6e21\u3059\u305f\u3081\u306e\u5909\u6570$text\u3092\u5b9a\u7fa9\u3057\u3001\u6587\u5b57\u5217\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u30d3\u30e5\u30fc\u306b\u5909\u6570\u306a\u3069\u306e\u30c7\u30fc\u30bf\u3092\u6e21\u3059\u306b\u306fset\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u7b2c\u4e00\u5f15\u6570\u306b\u30d3\u30e5\u30fc\u306b\u6e21\u3059\u305f\u3081\u306e\u5909\u6570\u306e\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3057\u3001\u7b2c\u4e8c\u5f15\u6570\u306b\u5909\u6570\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u7d9a\u3051\u3066Cake\/src\/Template\/Sample\u306b\u30d3\u30e5\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>index.ctp<\/p>\n<pre class=\"lang:php decode:true \">&lt;?php echo $text; ?&gt;<\/pre>\n<p>index.ctp\u3067\u306fecho\u3067\u6e21\u3055\u308c\u305f\u5909\u6570\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3057\u305f\u3089\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u306b\u300chttp:\/\/\u30a2\u30c9\u30ec\u30b9\/Sample\u300d\u3092\u5165\u529b\u3057\u3066\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u305f\u3089\u6210\u529f\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-30853\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/view_image1.png\" alt=\"view_image1\" width=\"304\" height=\"137\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/view_image1.png 304w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/view_image1-150x68.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/view_image1-300x135.png 300w\" sizes=\"(max-width: 304px) 100vw, 304px\" \/><\/p>\n<h3>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8aad\u307f\u8fbc\u307f\u51fa\u529b\u3059\u308b<\/h3>\n<p>\u6b21\u306b<strong>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u5185\u5bb9\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001\u30d3\u30e5\u30fc\u306b\u51fa\u529b\u3059\u308b\u65b9\u6cd5<\/strong>\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\u5b9f\u969b\u306b\u30c6\u30fc\u30d6\u30eb\u306e\u5185\u5bb9\u3092\u30d3\u30e5\u30fc\u306b\u51fa\u529b\u3059\u308b\u3053\u3068\u306f\u3088\u304f\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u4f7f\u3044\u65b9\u3092\u899a\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002\u4e8b\u524d\u6e96\u5099\u3068\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">CREATE TABLE fruits (\r\n    id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,\r\n    fruits VARCHAR(32),\r\n    value INT\r\n);<\/pre>\n<p>\u7d9a\u3044\u3066\u3001INSERT\u6587\u3067\u30c7\u30fc\u30bf\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">INSERT INTO fruits (fruits, value) VALUES ('\"apple\"', 100);\r\nINSERT INTO fruits (fruits, value) VALUES ('\"orange\"', 80);\r\nINSERT INTO fruits (fruits, value) VALUES ('\"melon\"', 500);\r\nINSERT INTO fruits (fruits, value) VALUES ('\"banana\"', 100);\r\nINSERT INTO fruits (fruits, value) VALUES ('\"pineapple\"', 450);<\/pre>\n<p>\u6b21\u306bbake\u3067model\u3068controller\u306e\u96db\u5f62\u3092\u81ea\u52d5\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>model\u306e\u4f5c\u6210<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">bin\/cake bake model fruits<\/pre>\n<p>controller\u306e\u4f5c\u6210<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">bin\/cake bake controller fruits<\/pre>\n<p>bake\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u306d\u3002<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/26423\" 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\/image2-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010CakePHP\u5165\u9580\u3011bake\u306e\u4f7f\u3044\u65b9<\/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            <\/p>\n<p>\u4f5c\u6210\u3055\u308c\u305f\u300cCake\/src\/Controller\/FruitsController.php\u300d\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n<p>Cake\/src\/Controller\/FruitsController.php<\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\nnamespace AppController;\r\n\r\nuse AppControllerAppController;\r\n\r\nclass FruitsController extends AppController\r\n{\r\n    public function index()\r\n    {\r\n        $this-&gt;set('fruits', $this-&gt;Fruits-&gt;find('all'));\r\n    }\r\n}<\/pre>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u5185\u5bb9\u3092\u5168\u3066\u30d3\u30e5\u30fc\u306b\u6e21\u3059\u306b\u306f\u3001set\u30e1\u30bd\u30c3\u30c9\u3067\u3001\u7b2c\u4e00\u5f15\u6570\u306b\u30c6\u30fc\u30d6\u30eb\u540d\u3092\u6307\u5b9a\u3057\u3001\u7b2c\u4e8c\u5f15\u6570\u306b\u30c7\u30fc\u30bf\u3092\u5168\u3066\u53d6\u5f97\u3059\u308b\u305f\u3081\u3001find\u3067\u5f15\u6570\u306ball\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002set\u30e1\u30bd\u30c3\u30c9\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\uff01<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/26983\" 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\/image8-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010CakePHP\u5165\u9580\u3011set\u30e1\u30bd\u30c3\u30c9\u3067View\u306b\u30c7\u30fc\u30bf\u3092\u9001\u308b\u65b9\u6cd5<\/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            <\/p>\n<p>\u6b21\u306bindex.ctp\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>Cake\/src\/Template\/Fruits\/index.ctp<\/p>\n<pre class=\"lang:php decode:true \">&lt;h1&gt;Fruits&lt;\/h1&gt;\r\n&lt;table&gt;\r\n    &lt;tr&gt;\r\n        &lt;th&gt;Id&lt;\/th&gt;\r\n        &lt;th&gt;fruits&lt;\/th&gt;\r\n        &lt;th&gt;value&lt;\/th&gt;\r\n    &lt;\/tr&gt;\r\n\r\n    &lt;?php foreach ($fruits as $item): ?&gt;\r\n    &lt;tr&gt;\r\n        &lt;td&gt;&lt;?= $item-&gt;id ?&gt;&lt;\/td&gt;\r\n        &lt;td&gt;&lt;?= $item-&gt;fruits ?&gt;&lt;\/td&gt;\r\n        &lt;td&gt;&lt;?= $item-&gt;value ?&gt;&lt;\/td&gt;\r\n        &lt;\/td&gt;\r\n    &lt;\/tr&gt;\r\n    &lt;?php endforeach; ?&gt;\r\n&lt;\/table&gt;<\/pre>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3057\u305f\u3089\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u306b\u300chttp:\/\/\u30a2\u30c9\u30ec\u30b9\/Fruits\u300d\u3092\u5165\u529b\u3057\u3066\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u305f\u3089\u6210\u529f\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-30854\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/view_image2.png\" alt=\"view_image2\" width=\"600\" height=\"265\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/view_image2.png 600w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/view_image2-150x66.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/view_image2-300x133.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<h2>FormHelper\u3067\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>CakePHP\u3067\u306f\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u6210\u3059\u308b\u306e\u306b\u4fbf\u5229\u306aFormHelper\u3068\u3044\u3046\u6a5f\u80fd\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>FormHelper\u306f\u3001<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">$this-&gt;Form-&gt;create(\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8, \u30aa\u30d7\u30b7\u30e7\u30f3);<\/pre>\n<p>\u3067\u30d5\u30a9\u30fc\u30e0\u3092\u958b\u59cb\u3057\u3001<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">$this-&gt;Form-&gt;control('\u30c6\u30ad\u30b9\u30c8', \u30aa\u30d7\u30b7\u30e7\u30f3);<\/pre>\n<p>\u3067\u30d5\u30a9\u30fc\u30e0\u3092\u69cb\u6210\u3059\u308b\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u751f\u6210\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u30d5\u30a9\u30fc\u30e0\u3092\u7d42\u4e86\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\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;end()<\/pre>\n<p>\u4ee5\u4e0b\u306b\u7c21\u5358\u306a\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u6210\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>Cake\/src\/Controller\/SampleController.php<\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n \r\nnamespace AppController;\r\n \r\nuse AppControllerAppController;\r\n \r\nclass SampleController extends AppController {\r\n \r\n  public function index() {\r\n  }\r\n}<\/pre>\n<p>Cake\/src\/Template\/Sample\/index.ctp<\/p>\n<pre class=\"lang:php decode:true \">&lt;h1&gt;Sample Page&lt;\/h1&gt;\r\n&lt;p&gt;\r\n  &lt;?php\r\n\r\n    \/\/\u30d5\u30a9\u30fc\u30e0\u306e\u4f5c\u6210\r\n    echo $this-&gt;Form-&gt;create();\r\n    \/\/\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u914d\u7f6e\r\n    echo $this-&gt;Form-&gt;control('\u540d\u524d');\r\n    echo $this-&gt;Form-&gt;control('\u30e1\u30fc\u30eb');\r\n\r\n    echo $this-&gt;Form-&gt;button('\u9001\u4fe1');\r\n\r\n    \/\/\u30d5\u30a9\u30fc\u30e0\u306e\u7d42\u4e86\r\n    echo $this-&gt;Form-&gt;end();\r\n\r\n  ?&gt;\r\n&lt;\/p&gt;\r\n&lt;\/div&gt;<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<br \/>\n<img decoding=\"async\" class=\"aligncenter size-full wp-image-30855\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/view_image3.png\" alt=\"view_image3\" width=\"350\" height=\"408\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/view_image3.png 350w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/view_image3-129x150.png 129w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/view_image3-257x300.png 257w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><\/p>\n<p>FormHelper\u306e\u8a73\u3057\u3044\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u3082\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\uff01<br \/>\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            <\/p>\n<h3>\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b(checkbox)<\/h3>\n<p>FormHelper\u306e\u30e1\u30bd\u30c3\u30c9\u306e1\u3064\u306b\u3001\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092\u4f5c\u308b\u3068\u304d\u306b\u4f7f\u7528\u3059\u308bcheckbox\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306f\u3001\u30d5\u30a9\u30fc\u30e0\u304b\u30891\u3064\u307e\u305f\u306f\u8907\u6570\u306e\u9805\u76ee\u3092\u307e\u3068\u3081\u3066\u9078\u629e\u3059\u308b\u3068\u304d\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002checkbox\u30e1\u30bd\u30c3\u30c9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:php decode:true \">echo $this-&gt;Form-&gt;label('checkbox1', '\u30c1\u30a7\u30c3\u30af');\r\necho $this-&gt;Form-&gt;checkbox('checbox1');<\/pre>\n<p>checkbox\u30e1\u30bd\u30c3\u30c9\u306e\u8a73\u3057\u3044\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\uff01<br \/>\n<\/p>\n<h3>\u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\u3092\u4f5c\u6210\u3059\u308b(radio)<\/h3>\n<p>FormHelper\u306e\u30e1\u30bd\u30c3\u30c9\u3067\u306f\u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\u3092\u4f5c\u6210\u3059\u308bradio\u30e1\u30bd\u30c3\u30c9\u3082\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002radio\uff08\u30e9\u30b8\u30aa\uff09\u30dc\u30bf\u30f3\u3068\u306f\u3001\u30d5\u30a9\u30fc\u30e0\u4e0a\u306b\u4e38\u3044\u30dc\u30bf\u30f3\u304c\u8868\u793a\u3055\u308c\u3066\u3001\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u4e2d\u306b\u9ed2\u3044\u70b9\u304c\u8868\u793a\u3055\u308c\u308b\u30dc\u30bf\u30f3\u306e\u3053\u3068\u3092\u8a00\u3044\u307e\u3059\u3002<\/p>\n<p>radio\u30e1\u30bd\u30c3\u30c9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:php decode:true \">\/\/label\u306e\u751f\u6210\r\necho $this-&gt;Form-&gt;label('\u6027\u5225\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044');\r\necho '&lt;br&gt;';\r\n \r\n\/\/radio\u30dc\u30bf\u30f3\u306e\u4f5c\u6210\r\n$options = [\r\n            'value1' =&gt; '\u7537\u6027',\r\n            'value2' =&gt; '\u5973\u6027'\r\n           ];\r\necho $this-&gt;Form-&gt;radio('radio', $options);<\/pre>\n<p>radio\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\u306e\u4f5c\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u3082\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\uff01<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/30046\" 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\/08\/image11-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010CakePHP\u5165\u9580\u3011radio\u30dc\u30bf\u30f3\u306e\u4f5c\u308a\u65b9\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01<\/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            <\/p>\n<h3>hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>\u300chidden\u300d\u3068\u306f\u3001\u82f1\u8a9e\u3067\u96a0\u3055\u308c\u305f\u3068\u3044\u3046\u3053\u3068\u3092\u610f\u5473\u3059\u308b\u5358\u8a9e\u3067\u3059\u3002hidden\u3092HTML\u3067\u8a18\u8ff0\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/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>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\u5c5e\u6027\u3092\u5909\u3048\u308c\u3070\u30c6\u30ad\u30b9\u30c8\u5165\u529b\u3001\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3001\u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\u306a\u3069\u304c\u4f5c\u308c\u307e\u3059\u304c\u3001type\u3092\u3001hidden\u306b\u3059\u308b\u3068\u3001<strong>\u300c\u898b\u3048\u306a\u3044\u300d\u5024\u3092\u6e21\u3059\u3053\u3068\u304c\u53ef\u80fd<\/strong>\u3067\u3059\u3002<\/p>\n<p>FormHelper\u306ehidden\u30e1\u30bd\u30c3\u30c9\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/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( \u540d\u524d ,['value'=&gt; \u5024 ]) ;<\/pre>\n<p>\u305d\u3093\u306ahidden\u5c5e\u6027\u306e\u8a2d\u5b9a\u65b9\u6cd5\u3084\u3001\u5024\u306b\u914d\u5217\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u306a\u3069\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\uff01<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/28310\" 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\/image18-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010CakePHP\u5165\u9580\u3011hidden\u5c5e\u6027\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5<\/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            <\/p>\n<h2>HtmlHelper\u306elink\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9<\/h2>\n<p>HtmlHelper\u3068\u306f\u3001\u3055\u307e\u3056\u307e\u306aHTML\u306e\u30bf\u30b0\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u6a5f\u80fd\u3067\u3059\u3002HtmlHelper\u3067\u306fHTML\u306e<strong>\u30ea\u30f3\u30af\u306e\u4f5c\u6210\u3084\u753b\u50cf\u306e\u51fa\u529b\u306a\u3069\u3001HTML\u306e\u3055\u307e\u3056\u307e\u306a\u30aa\u30d7\u30b7\u30e7\u30f3<\/strong>\u3092\u7c21\u5358\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">CakeViewHelperHtmlHelper(View $view, array $config = [])<\/pre>\n<p>HtmlHelper\u306elink\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u30ea\u30f3\u30af\u4ed8\u304d\u306e\u30dc\u30bf\u30f3\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002link\u30e1\u30bd\u30c3\u30c9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:php decode:true \">echo $this-&gt;Html-&gt;link(\r\n    'Samurai',\r\n    'http:\/\/www.sejuku.net\/',\r\n    ['class' =&gt; 'button', 'target' =&gt; '_blank']\r\n);<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u300cSamurai\u300d\u30dc\u30bf\u30f3\u306e\u3042\u308b\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u3001\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u306b\u98db\u3076\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u3093\u306aHtmlHelper\u306elink\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\uff01<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/27174\" 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\/image10-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010CakePHP\u5165\u9580\u3011link\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9(HtmlHelper)<\/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            <\/p>\n<h2>\u30ec\u30a4\u30a2\u30a6\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u6d3b\u7528(Layout)<\/h2>\n<p>CakePHP\u3067\u4f5c\u6210\u3059\u308b\u30da\u30fc\u30b8\u306f\u3001\u3042\u3089\u304b\u3058\u3081\u30da\u30fc\u30b8\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u30ec\u30a4\u30a2\u30a6\u30c8\u7528\u306e\u30d5\u30a1\u30a4\u30eb\u3092CakePHP\u304c\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u304b\u3089\u3067\u3059\u3002\u30ec\u30a4\u30a2\u30a6\u30c8\u7528\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u300csrc\/Template\/Layout\u300d\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u6210\u30fb\u5909\u66f4\u3059\u308b\u5834\u5408\u306f\u3001\u300csrc\/Template\/Layout\u300d\u306edefault.ctp\u306e\u5185\u5bb9\u3092\u5909\u66f4\u3059\u308b\u304b\u3001<strong>\u65b0\u305f\u306b\u30ec\u30a4\u30a2\u30a6\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210<\/strong>\u3057\u307e\u3059\u3002\u305d\u3093\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u65b9\u6cd5\u304b\u3089\u3001\u9069\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\uff01<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/29053\" 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\/08\/image-21-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010CakePHP\u5165\u9580\u3011\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u307f\u3088\u3046\uff01(layout)<\/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            <\/p>\n<h2>\u4ed6\u306e\u30d3\u30e5\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5(render)<\/h2>\n<p>render\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u5225\u306eView\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u305f\u3044\u3068\u304d\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>Controller::render()\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u5404\u30a2\u30af\u30b7\u30e7\u30f3\u306e\u6700\u5f8c\u306b\u81ea\u52d5\u7684\u306b\u547c\u3070\u308c\u3001View\u3092\u63cf\u753b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">$this-&gt;render(string $view, string $layout);<\/pre>\n<p>\u4f8b\u3048\u3070\u3001index()\u306e\u4e2d\u3067\u3001\u5225\u306eView\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u305f\u3044\u3068\u304d\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:php decode:true \">namespace AppController;\r\n \r\nuse AppControllerAppController;\r\n \r\nclass SampleController extends AppController\r\n{\r\n \r\n  public function index() {\r\n \r\n    $this-&gt;render('sample2');\r\n \r\n  }\r\n}<\/pre>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u3001src\/Template\/Sample\/\u4ee5\u4e0b\u306b\u3042\u308bsample2\u306eView\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002render\u30e1\u30bd\u30c3\u30c9\u306e\u8a73\u3057\u3044\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\uff01<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/28847\" 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\/08\/image-12-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010CakePHP\u5165\u9580\u3011render()\u30e1\u30bd\u30c3\u30c9\u3067\u4efb\u610f\u306eView\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b<\/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            <\/p>\n<h2>\u30a8\u30ec\u30e1\u30f3\u30c8\u306e\u4f7f\u3044\u65b9(element)<\/h2>\n<p>\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5171\u901a\u5316\u3059\u308b\u306b\u306felement\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002element\u306fView\u306e\u4e00\u90e8\u3092\u5171\u901a\u5316\u3059\u308b\u3068\u304d\u306b\u4fbf\u5229\u3067\u3001Web\u30da\u30fc\u30b8\u306e\u4f5c\u6210\u306b\u304a\u3044\u3066\u3001\u5e83\u544a\u3084\u30d8\u30eb\u30d7\u3001\u30e1\u30cb\u30e5\u30fc\u3001\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u306a\u3069\u3001\u7e70\u308a\u8fd4\u3057\u4f7f\u7528\u3067\u304d\u308b\u30d1\u30fc\u30c4\u306felement\u306b\u8a18\u8ff0\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">echo $this-&gt;element('\u30d5\u30a1\u30a4\u30eb\u540d');<\/pre>\n<p>\u5f15\u6570\u306b\u306fElement\/\u3067\u4f5c\u6210\u3057\u305fctp\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u305d\u3093\u306a\u30a8\u30ec\u30e1\u30f3\u30c8\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\uff01<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/29670\" 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\/08\/image-15-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010CakePHP\u5165\u9580\u3011\u30a8\u30ec\u30e1\u30f3\u30c8(element)\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\uff01<\/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            <\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u3053\u3067\u306fCakePHP\u306eView\u306b\u304a\u3051\u308b\u3001<br \/>\n<div class=\"box01\"><\/p>\n<ul>\n<li><b>View\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/b><\/li>\n<li><b>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8aad\u307f\u8fbc\u307f\u51fa\u529b\u3059\u308b\u65b9\u6cd5<\/b><\/li>\n<li><b>FormHelper\u3067\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/b><\/li>\n<li><b>QueryBuilder\u306e\u4f7f\u3044\u65b9<\/b><\/li>\n<li><b>HtmlHelper\u306elink\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9<\/b><\/li>\n<li><b>\u30ec\u30a4\u30a2\u30a6\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u6d3b\u7528(Layout)<\/b><\/li>\n<li><b>\u4ed6\u306e\u30d3\u30e5\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5(render)<\/b><\/li>\n<li><b>\u30a8\u30ec\u30e1\u30f3\u30c8\u306e\u4f7f\u3044\u65b9(element)<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u306a\u3069\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002View\u306fCakePHP\u3092\u4f7f\u7528\u3059\u308b\u4e0a\u3067\u3001\u3082\u3063\u3068\u3082\u57fa\u672c\u7684\u306a\u6a5f\u80fd\u3068\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u4f7f\u3044\u65b9\u306f\u3088\u304f\u899a\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002\u3082\u3057View\u306e\u4f7f\u3044\u65b9\u3092\u5fd8\u308c\u3066\u3057\u307e\u3063\u305f\u3089\u3001\u3053\u306e\u8a18\u4e8b\u3092\u601d\u3044\u51fa\u3057\u3066\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d5\u30a9\u30fc\u30e0\u3092\u8868\u793a\u3057\u305f\u308a\u3001\u30c6\u30fc\u30d6\u30eb\u3084\u30e6\u30fc\u30b6\u30fc\u304c\u5165\u529b\u3057\u305f\u30c7\u30fc\u30bf\u3092\u8868\u793a\u3059\u308b\u306b\u306fCakePHP\u306eMVC\u30e2\u30c7\u30eb\u306eView\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306fView\u306b\u3064\u3044\u3066\u3001 View\u3068\u306f\uff1f View\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9 \u306a\u3069\u306e\u57fa\u672c\u7684\u306a\u5185\u5bb9\u304b\u3089 [&hellip;]<\/p>\n","protected":false},"author":16433,"featured_media":30857,"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":[38],"class_list":["post-30851","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php-study","tag-php"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 | \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\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 \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\/30851\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 | \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\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 \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\/30851\" \/>\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:published_time\" content=\"2017-08-24T05:54:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:44:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/image-111.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\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@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\\\/30851#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/30851\"},\"author\":{\"name\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/d20c57b59dba15001519a8a671183095\"},\"headline\":\"\u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01\",\"datePublished\":\"2017-08-24T05:54:35+00:00\",\"dateModified\":\"2024-05-06T02:44:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/30851\"},\"wordCount\":289,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/30851#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/image-111.jpg\",\"keywords\":[\"PHP\"],\"articleSection\":[\"PHP\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/30851\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/30851\",\"name\":\"\u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/30851#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/30851#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/image-111.jpg\",\"datePublished\":\"2017-08-24T05:54:35+00:00\",\"dateModified\":\"2024-05-06T02:44:38+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 \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\\\/30851#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/30851\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/30851#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/image-111.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/image-111.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/30851#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01\"}]},{\"@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\\\/d20c57b59dba15001519a8a671183095\",\"name\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\"},\"description\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u587e\u306f\u300c\u4eba\u751f\u3092\u5909\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u300d\u3092\u30b3\u30f3\u30bb\u30f3\u30d7\u30c8\u306b\u3001\u904e\u53bb\u591a\u304f\u306e\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u8f29\u51fa\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\u3067\u306f\u6280\u8853\u7cfb\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e2d\u5fc3\u306b\u6709\u7528\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u304d\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-tech\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 \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\/30851","og_locale":"ja_JP","og_type":"article","og_title":"\u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 \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\/30851","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_published_time":"2017-08-24T05:54:35+00:00","article_modified_time":"2024-05-06T02:44:38+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/image-111.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/30851#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/30851"},"author":{"name":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/d20c57b59dba15001519a8a671183095"},"headline":"\u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01","datePublished":"2017-08-24T05:54:35+00:00","dateModified":"2024-05-06T02:44:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/30851"},"wordCount":289,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/30851#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/image-111.jpg","keywords":["PHP"],"articleSection":["PHP\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/30851","url":"https:\/\/www.sejuku.net\/blog\/30851","name":"\u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/30851#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/30851#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/image-111.jpg","datePublished":"2017-08-24T05:54:35+00:00","dateModified":"2024-05-06T02:44:38+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01 \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\/30851#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/30851"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/30851#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/image-111.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/image-111.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/30851#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010CakePHP\u5165\u9580\u3011\u30d3\u30e5\u30fc(View)\u306e\u57fa\u672c\u301c\u4fbf\u5229\u6a5f\u80fd\u3092\u5fb9\u5e95\u89e3\u8aac\uff01"}]},{"@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\/d20c57b59dba15001519a8a671183095","name":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","caption":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8"},"description":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u587e\u306f\u300c\u4eba\u751f\u3092\u5909\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u300d\u3092\u30b3\u30f3\u30bb\u30f3\u30d7\u30c8\u306b\u3001\u904e\u53bb\u591a\u304f\u306e\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u8f29\u51fa\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\u3067\u306f\u6280\u8853\u7cfb\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e2d\u5fc3\u306b\u6709\u7528\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u304d\u307e\u3059\u3002","url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-tech"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/30851","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\/16433"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=30851"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/30851\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/30857"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=30851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=30851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=30851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}