{"id":1455,"date":"2023-01-25T18:00:06","date_gmt":"2023-01-25T09:00:06","guid":{"rendered":"https:\/\/comcent.co.jp\/blog\/?p=1455"},"modified":"2023-01-25T17:48:15","modified_gmt":"2023-01-25T08:48:15","slug":"codeigniter4%e3%81%ae%e3%83%9a%e3%83%bc%e3%82%b8%e3%83%a3%e3%83%bc%e6%a9%9f%e8%83%bd%e3%81%8b%e3%82%89vue%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%9e%e3%82%a4%e3%82%ba%e3%81%97%e3%82%84%e3%81%99","status":"publish","type":"post","link":"https:\/\/comcent.co.jp\/blog\/archives\/1455\/","title":{"rendered":"CodeIgniter4\u306e\u30da\u30fc\u30b8\u30e3\u30fc\u6a5f\u80fd\u304b\u3089Vue\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3084\u3059\u3044\u30c7\u30fc\u30bf\u3092\u9001\u308b"},"content":{"rendered":"\n<p>\u30c7\u30fc\u30bf\u3092\u4e00\u89a7\u8868\u793a\u3055\u305b\u308b\u3068\u304d\u306b\u30da\u30fc\u30b8\u30e3\u30fc\u3092\u914d\u7f6e\u3059\u308b\u6a5f\u4f1a\u306f\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br>\u5f0a\u793e\u3067\u306fCodeIgniter\uff08\u4ee5\u964dCI4\uff09\u3068\u3044\u3046PHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u4e2d\u3067\u306f\u30da\u30fc\u30b8\u30e3\u30fc\u3092\u4f5c\u3063\u3066\u304f\u308c\u308b\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002<br>\u516c\u5f0f\u306e\u4f7f\u3044\u65b9\u3067\u306fView\u30d5\u30a1\u30a4\u30eb\u5185\u3067$pager-&gt;links();<br>\u306a\u3069\u3092\u4f7f\u3063\u3066HTML\u304c\u7d44\u307f\u3042\u304c\u3063\u305f\u72b6\u614b\u3067\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<br>\u3053\u308c\u3060\u3068Vue\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u3067\u4f7f\u7528\u3059\u308b\u3068\u304d\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u3057\u306b\u304f\u3044\u3067\u3059\u3002<br>CI4\u306e\u30da\u30fc\u30b8\u30e3\u30fc\u6a5f\u80fd\u3092\u5229\u7528\u3057\u306a\u304c\u3089\u3001Vue\u5074\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3084\u3059\u3044\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline01 modHeadline\">CI4\u3067\u30ab\u30b9\u30bf\u30e0\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/h4>\n\n\n\n<p>\u307e\u305a\u306f\u3001CI4\u3067\u30da\u30fc\u30b8\u30e3\u30fc\u3092\u7528\u610f\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br>View\u30d5\u30a1\u30a4\u30eb\u5185\u3001$pager-&gt;links(\u30b0\u30eb\u30fc\u30d7\u540d,\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8)<br>\u3067\u30da\u30fc\u30b8\u30e3\u30fc\u3092\u51fa\u529b\u3067\u304d\u307e\u3059\u304c\u3001\u6700\u5f8c\u306e\u5f15\u6570\u306e\u6307\u5b9a\u304c\u306a\u3044\u3068\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u7528\u610f\u3057\u305f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<br>\u306a\u306e\u3067\u8ffd\u52a0\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u30fb\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br>app\/Config\/Pager.php<br>\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u8ffd\u52a0<\/p>\n\n\n\n<pre class=\"modBlobCodeArea\"><code class=\"modBlobCode\">public $templates = [\n     'default_full'   =&gt; 'CodeIgniter\\Pager\\Views\\default_full',\n     'default_simple' =&gt; 'CodeIgniter\\Pager\\Views\\default_simple',\n     'custom_full'     =&gt; 'App\\Views\\Pagers\\custom_full',\/\/\u8ffd\u52a0\n ];\n<\/code><\/pre>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u3067\u30ab\u30b9\u30bf\u30e0\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u5b9f\u969b\u306bview\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline01 modHeadline\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8View\u3092\u4f5c\u6210<\/h4>\n\n\n\n<p>\u30d5\u30ed\u30f3\u30c8\u5074\u3067\u7d44\u307f\u7acb\u3066\u305f\u3044\u306e\u3067\u3001PHP\u3067\u51fa\u529b\u3055\u308c\u3066\u3044\u308b\u5909\u6570\u3060\u3051\u307e\u3068\u3081\u3066JSON\u3067\u9001\u308a\u307e\u3059\u3002<br>\u4ee5\u4e0b\u304c\u5b9f\u969b\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"modBlobCodeArea\"><code class=\"modBlobCode\">&lt;?php\nuse CodeIgniter\\Pager\\PagerRenderer;\n\n \/\/\u73fe\u5728\u306e\u30da\u30fc\u30b8\u30ea\u30f3\u30af\u306e\u4e21\u5074\u306b\u3044\u304f\u3064\u306e\u30ea\u30f3\u30af\u3092\u8868\u793a\u3059\u308b\u304b\u3092\u6307\u5b9a\n $pager-&gt;setSurroundCount(2);\n \/\/\u73fe\u5728\u306e\u30da\u30fc\u30b8\u306e\u524d\u5074\u306b\u8868\u793a\u3067\u304d\u308b\u30ea\u30f3\u30af\u304c\u4ed6\u306b\u3082\u3042\u308b\u304b\u3069\u3046\u304b\n $hasPrevious = ($pager-&gt;hasPrevious()) ? 1 : 0;\n\n \/\/---------- first ----------\n\n \/\/$getFirstPageNumber = $pager-&gt;getFirstPageNumber();\/\/\u30e1\u30bd\u30c3\u30c9\u306f\u5b58\u5728\u3059\u308b\u304c\u30da\u30fc\u30b8\u30ca\u30f3\u30d0\u30fc\u304c\u6b63\u3057\u304f\u306a\u3044\u305f\u3081\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\n $getFirst = $pager-&gt;getFirst();\/\/\u6700\u521d\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\n \/\/\u6b63\u3057\u3044\u3068\u601d\u308f\u308c\u308buri\u3092\u5206\u6790\u3057\u3066page=\u306e\u90e8\u5206\u3092\u53d6\u5f97\u3059\u308b\n $firstPageComponents = parse_url($getFirst);\n parse_str($firstPageComponents['query'], $firstPageResults);\n $getFirstPageNumber = $firstPageResults['page'];\/\/\u6700\u521d\u30da\u30fc\u30b8\u306e\u30da\u30fc\u30b8\u756a\u53f7\n $langPagerFirst = lang('Pager.first');\/\/\u6700\u521d\u30da\u30fc\u30b8\u306e\u6587\u8a00\n\n \/\/----------  ----------\n\n \/\/---------- previous ----------\n\n $getPreviousPageNumber = $pager-&gt;getPreviousPageNumber();\/\/\u524d\u30da\u30fc\u30b8\u306e\u30da\u30fc\u30b8\u756a\u53f7\n $getPrevious = $pager-&gt;getPrevious();\/\/\u524d\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\n $langPagerPrevious = lang('Pager.previous');\/\/\u524d\u30da\u30fc\u30b8\u306e\u6587\u8a00\n \/\/----------  ----------\n $pagerLinks = $pager-&gt;links();\/\/\u3059\u3079\u3066\u306e\u756a\u53f7\u4ed8\u304d\u30ea\u30f3\u30af\u306b\u95a2\u3059\u308b\u30c7\u30fc\u30bf\u306e\u914d\u5217\n \/\/---------- next ----------\n $hasNext = ($pager-&gt;hasNext()) ? 1 : 0;\n $getNextPageNumber = $pager-&gt;getNextPageNumber();\n $getNext = $pager-&gt;getNext();\n $langPagerNext = lang('Pager.next');\n\n \/\/----------  ----------\n\n \/\/---------- last ----------\n\n \/\/$getLastPageNumber = $pager-&gt;getLastPageNumber();\/\/\u30e1\u30bd\u30c3\u30c9\u306f\u5b58\u5728\u3059\u308b\u304c\u30da\u30fc\u30b8\u30ca\u30f3\u30d0\u30fc\u304c\u6b63\u3057\u304f\u306a\u3044\u305f\u3081\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\n $getLast = $pager-&gt;getLast();\/\/\u6700\u5f8c\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\n \/\/\u6b63\u3057\u3044\u3068\u601d\u308f\u308c\u308buri\u3092\u5206\u6790\u3057\u3066page=\u306e\u90e8\u5206\u3092\u53d6\u5f97\u3059\u308b\n $lastPageComponents = parse_url($getLast);\n parse_str($lastPageComponents['query'], $lastPageResults);\n $getLastPageNumber = $lastPageResults['page'];\/\/\u6700\u5f8c\u30da\u30fc\u30b8\u306e\u30da\u30fc\u30b8\u756a\u53f7\n $langPagerLast = lang('Pager.last');\/\/\u6700\u5f8c\u30da\u30fc\u30b8\u306e\u6587\u8a00\n\n \/\/----------  ----------\n\n $getCurrentPageNumber = $pager-&gt;getCurrentPageNumber();\/\/\u73fe\u5728\u306e\u30da\u30fc\u30b8\u756a\u53f7\n\n $jsonData = compact(\n  'hasPrevious',\/\/\u73fe\u5728\u306e\u30da\u30fc\u30b8\u306e\u524d\u5074\u306b\u8868\u793a\u3067\u304d\u308b\u30ea\u30f3\u30af\u304c\u4ed6\u306b\u3082\u3042\u308b\u304b\u3069\u3046\u304b\n  'getFirstPageNumber',\/\/\u6700\u521d\u30da\u30fc\u30b8\u306e\u30da\u30fc\u30b8\u756a\u53f7\n  'getFirst',\/\/\u6700\u521d\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\n  'langPagerFirst',\/\/\u6700\u521d\u30da\u30fc\u30b8\u306e\u6587\u8a00\n  'getPreviousPageNumber',\/\/\u524d\u30da\u30fc\u30b8\u306e\u30da\u30fc\u30b8\u756a\u53f7\n  'getPrevious',\/\/\u524d\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\n  'langPagerPrevious',\/\/\u524d\u30da\u30fc\u30b8\u306e\u6587\u8a00\n  'pagerLinks',\/\/\u3059\u3079\u3066\u306e\u756a\u53f7\u4ed8\u304d\u30ea\u30f3\u30af\u306b\u95a2\u3059\u308b\u30c7\u30fc\u30bf\u306e\u914d\u5217\n  'hasNext',\/\/\u73fe\u5728\u306e\u30da\u30fc\u30b8\u306e\u5f8c\u5074\u306b\u8868\u793a\u3067\u304d\u308b\u30ea\u30f3\u30af\u304c\u4ed6\u306b\u3082\u3042\u308b\u304b\u3069\u3046\u304b\n  'getNextPageNumber',\/\/\u524d\u30da\u30fc\u30b8\u306e\u30da\u30fc\u30b8\u756a\u53f7\n  'getNext',\/\/\u6700\u521d\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\n  'langPagerNext',\/\/\u524d\u30da\u30fc\u30b8\u306e\u6587\u8a00\n  'getLastPageNumber',\/\/\u6700\u5f8c\u30da\u30fc\u30b8\u306e\u30da\u30fc\u30b8\u756a\u53f7\n  'getLast',\/\/\u6700\u5f8c\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\n  'langPagerLast',\/\/\u6700\u5f8c\u30da\u30fc\u30b8\u306e\u6587\u8a00\n  'getCurrentPageNumber',\/\/\u73fe\u5728\u306e\u30da\u30fc\u30b8\u756a\u53f7\n);\n\necho json_encode($jsonData); ?&gt;<\/code><\/pre>\n\n\n\n<p>\u4f7f\u3046\u4e0a\u3067\u6700\u4f4e\u9650\u898b\u308b\u90e8\u5206\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30e1\u30f3\u30c8\u3067\u5909\u6570\u306e\u8aac\u660e\u3092\u884c\u3063\u3066\u3044\u308b\u7b87\u6240\u306b\u306a\u308a\u307e\u3059\u3002<br>\u6700\u521d\u3078\u9077\u79fb\u3059\u308b\u3068\u304d\u306e\u30ea\u30f3\u30af\u3092\u4f8b\u306b\u3059\u308b\u3068\u3002<br>hasPrevious\u3067\u524d\u30da\u30fc\u30b8\u30fb\u6700\u521d\u30da\u30fc\u30b8\u3078\u306e\u30dc\u30bf\u30f3\u306e\u6709\u7121\u3092\u5206\u5c90\u3002<br>getFirst\u3092a\u30bf\u30b0\u306ehref\u306b\u8a2d\u5b9a\u3001getFirstPageNumber\u3092js\u5074\u306b\u9001\u308bdata\u5c5e\u6027\u306b\u8a2d\u5b9a\u3001\u30dc\u30bf\u30f3\u306b\u8868\u793a\u3059\u308b\u6587\u8a00\u306flangPagerFirst\u3092\u8a2d\u5b9a\u3002\u3053\u306e\u3088\u3046\u306b\u81ea\u5206\u306e\u4f5c\u3063\u305f\u30da\u30fc\u30b8\u30e3\u30fc\u30d1\u30fc\u30c4\u306b\u5404\u9805\u76ee\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"modBlobCodeArea\"><code class=\"modBlobCode\">\n$jsonData = compact(\n  'hasPrevious',\/\/\u73fe\u5728\u306e\u30da\u30fc\u30b8\u306e\u524d\u5074\u306b\u8868\u793a\u3067\u304d\u308b\u30ea\u30f3\u30af\u304c\u4ed6\u306b\u3082\u3042\u308b\u304b\u3069\u3046\u304b\n  'getFirstPageNumber',\/\/\u6700\u521d\u30da\u30fc\u30b8\u306e\u30da\u30fc\u30b8\u756a\u53f7\n  'getFirst',\/\/\u6700\u521d\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\n  'langPagerFirst',\/\/\u6700\u521d\u30da\u30fc\u30b8\u306e\u6587\u8a00\n  'getPreviousPageNumber',\/\/\u524d\u30da\u30fc\u30b8\u306e\u30da\u30fc\u30b8\u756a\u53f7\n  'getPrevious',\/\/\u524d\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\n  'langPagerPrevious',\/\/\u524d\u30da\u30fc\u30b8\u306e\u6587\u8a00\n  'pagerLinks',\/\/\u3059\u3079\u3066\u306e\u756a\u53f7\u4ed8\u304d\u30ea\u30f3\u30af\u306b\u95a2\u3059\u308b\u30c7\u30fc\u30bf\u306e\u914d\u5217\n  'hasNext',\/\/\u73fe\u5728\u306e\u30da\u30fc\u30b8\u306e\u5f8c\u5074\u306b\u8868\u793a\u3067\u304d\u308b\u30ea\u30f3\u30af\u304c\u4ed6\u306b\u3082\u3042\u308b\u304b\u3069\u3046\u304b\n  'getNextPageNumber',\/\/\u524d\u30da\u30fc\u30b8\u306e\u30da\u30fc\u30b8\u756a\u53f7\n  'getNext',\/\/\u6700\u521d\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\n  'langPagerNext',\/\/\u524d\u30da\u30fc\u30b8\u306e\u6587\u8a00\n  'getLastPageNumber',\/\/\u6700\u5f8c\u30da\u30fc\u30b8\u306e\u30da\u30fc\u30b8\u756a\u53f7\n  'getLast',\/\/\u6700\u5f8c\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\n  'langPagerLast',\/\/\u6700\u5f8c\u30da\u30fc\u30b8\u306e\u6587\u8a00\n  'getCurrentPageNumber',\/\/\u73fe\u5728\u306e\u30da\u30fc\u30b8\u756a\u53f7\n);\n<\/code><\/pre>\n\n\n\n<p>View\u3067\u306e\u5b9f\u88c5\u306f\u5b8c\u4e86\u3067\u3059\u3002<br>\u6b21\u306bVue\u30d5\u30a1\u30a4\u30eb\u306etemplate\u5185\u3067\u306e\u4f7f\u3044\u65b9\u3092\u8efd\u304f\u7d39\u4ecb\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline01 modHeadline\">Vue\u30d5\u30a1\u30a4\u30eb\u3067\u4f7f\u3063\u3066\u307f\u308b<\/h4>\n\n\n\n<pre class=\"modBlobCodeArea\"><code class=\"modBlobCode\">&lt;template&gt;\n    &lt;template v-if=\"pagerObj.hasPrevious\"&gt;\n      &lt;li&gt;\n      &lt;a :href=\"pagerObj.getFirst\" :aria-label=\"pagerObj.langPagerFirst\" aria-hidden=\"true\"&gt;&lt;\n      span dLead\"&gt;{{ pagerObj.langPagerFirst }}&lt;\/span&gt;\n      &lt;\/a&gt;\n      &lt;\/li&gt;\n      &lt;li&gt;\n      &lt;a href=\"pagerObj.getPrevious\" aria-label=\"pagerObj.langPagerPrevious\" aria-hidden=\"true\"&gt;\n      &lt;span dPove\"&gt;{{ pagerObj.langPagerPrevious }}&lt;\/span&gt;&lt;\/a&gt;&lt;\/li&gt;\n    &lt;\/template&gt;\n&lt;\/template&gt;\n<\/code><\/pre>\n\n\n\n<p>JSON\u3092\u30c7\u30b3\u30fc\u30c9\u3057\u3066\u53d6\u5f97\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304cpagerObj\u3067\u3059\u3002<br>\u6700\u521d\u3068\u524d\u306e\u8981\u7d20\u306e\u90e8\u5206\u3060\u3051\u3067\u3059\u304c\u3053\u306e\u3088\u3046\u306b\u7d44\u307f\u8fbc\u3081\u307e\u3059\u3002<br>\u30da\u30fc\u30b8\u30e3\u30fc\u306b\u95a2\u4fc2\u3042\u308a\u307e\u305b\u3093\u304c\u3001v-if\u3092template\u30bf\u30b0\u306b\u8a18\u8ff0\u3059\u308b\u3068\u7121\u99c4\u306bdiv\u3067\u56f2\u307e\u306a\u304f\u3066\u3082\u3088\u304f\u306a\u308b\u306e\u3067\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline01 modHeadline\">\u307e\u3068\u3081<\/h4>\n\n\n\n<p>Vue\u3092\u4f7f\u7528\u3059\u308b\u3068\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u5f79\u5272\u304c\u5897\u3048\u307e\u3059\u3002<br>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u5074\u3067\u3082\u30d5\u30ed\u30f3\u30c8\u3067\u4f7f\u3044\u3084\u3059\u3044\u30c7\u30fc\u30bf\u3092\u9001\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u306d\u3002<br>\u4ee5\u4e0a\u306b\u306a\u308a\u307e\u3059\u3001\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"has-text-align-right has-cyan-bluish-gray-color has-text-color\"><a href=\"http:\/\/www.freepik.com\" data-type=\"URL\"><a href=\"http:\/\/www.freepik.com\">Designed by fullvector \/ Freepik<\/a><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30c7\u30fc\u30bf\u3092\u4e00\u89a7\u8868\u793a\u3055\u305b\u308b\u3068\u304d\u306b\u30da\u30fc\u30b8\u30e3\u30fc\u3092\u914d\u7f6e\u3059\u308b\u6a5f\u4f1a\u306f\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u5f0a\u793e\u3067\u306fCodeIgniter\uff08\u4ee5\u964dCI4\uff09\u3068\u3044\u3046PHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u4e2d\u3067\u306f\u30da\u30fc\u30b8\u30e3\u30fc\u3092\u4f5c\u3063\u3066\u304f\u308c\u308b\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002\u516c\u5f0f\u306e\u4f7f\u3044 [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":1831,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,13],"tags":[88,90,89,36,92,91],"coauthors":[49],"class_list":["post-1455","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-backend","category-frontend","tag-codeigniter4","tag-js","tag-vue","tag-36","tag-92","tag-91"],"author_meta":{"nickname":"K.D","position":"\u30d7\u30ed\u30b0\u30e9\u30de\u30fc","icon_url":"https:\/\/comcent.co.jp\/blog\/images\/authorKd-150x150.png","author_url":"https:\/\/comcent.co.jp\/blog\/archives\/author\/kimura\/"},"tag_names":["CodeIgniter4","JS","Vue","\u30d0\u30c3\u30af\u30a8\u30f3\u30c9","\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9","\u30da\u30fc\u30b8\u30e3\u30fc"],"thumbnail_url":"https:\/\/comcent.co.jp\/blog\/wp-content\/uploads\/2022\/10\/ci4_pager-300x200.jpg","_links":{"self":[{"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/posts\/1455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=1455"}],"version-history":[{"count":32,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/posts\/1455\/revisions"}],"predecessor-version":[{"id":1956,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/posts\/1455\/revisions\/1956"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/media\/1831"}],"wp:attachment":[{"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=1455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=1455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=1455"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/coauthors?post=1455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}