{"id":28,"date":"2008-01-20T10:00:57","date_gmt":"2008-01-20T01:00:57","guid":{"rendered":"http:\/\/www.eshima.info\/tech\/?p=27"},"modified":"2008-01-20T10:00:57","modified_gmt":"2008-01-20T01:00:57","slug":"%e5%87%ba%e5%8a%9b%e3%81%99%e3%82%8bhtml%e3%81%ae%e8%a8%ad%e5%ae%9a%e4%b8%8a%e6%9b%b8%e3%81%8d","status":"publish","type":"post","link":"https:\/\/tech.eshima.info\/?p=28","title":{"rendered":"\u51fa\u529b\u3059\u308bHTML\u306e\u8a2d\u5b9a\u4e0a\u66f8\u304d"},"content":{"rendered":"<p>\u53c2\u7167\uff1a<a href=\"http:\/\/bakery.cakephp.org\/articles\/view\/overriding-specific-html-tags-before-using-helper-methods\" title=\"test\" target=\"_blank\">Overriding specific HTML tags before using helper methods<\/a><\/p>\n<p>\u3053\u308c\u306f\u4fbf\u5229\u3060\u3002cakePHP\u3067\u51fa\u529b\u3059\u308bHTML\u30bf\u30b0\u3092\u5fc5\u8981\u306a\u5206\u3060\u3051\u81ea\u5206\u3067\u8a2d\u5b9a\u3067\u304d\u308b\u3002cakePHP\u30ac\u30a4\u30c9\u30d6\u30c3\u30af\u3067\u306fconfig\/tag.ini.php\u3067\u3067\u304d\u308b\u3068\u66f8\u3044\u3066\u3042\u3063\u305f\u304c\u52d5\u304b\u306a\u3044\u3057\u60c5\u5831\u7686\u7121\u3060\u3063\u305f\u30021.2\u7cfb\u3067\u306f\u3053\u3063\u3061\u307f\u305f\u3044\u3002<\/p>\n<p>app\/config\/tags.php\u3092\u4f5c\u6210<\/p>\n<pre line=\"1\" lang=\"PHP\">\n<?php\n$tags = array(\n    'submit' =>'<input class=\"hogehoge\" type=\"submit\" \/>'\/\/\u4ed6\u306e\u30bf\u30b0\u3082\u540c\u69d8\u306b\u81ea\u7531\u81ea\u5728);\n?>\n<\/pre>\n<p>app\/app_helper.php\u3092\u4f5c\u6210<\/p>\n<pre line=\"1\" lang=\"PHP\">\n<?php\nclass AppHelper extends Helper {\n    function __construct() {\n        parent::__construct();\n        $this->loadConfig();\n        \/\/$this->loadConfig('hogehogetags');\/\/\u3053\u308c\u3067\u3001config\/hogehogetags\u3068\u3044\u3046\u52dd\u624b\u306b\u4ed8\u3051\u305f\u540d\u524d\u3067\u3082\u8aad\u307f\u8fbc\u307f\u53ef\n    }\n}\n?>\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u53c2\u7167\uff1aOverriding specific HT [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-cakephp"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u53c2\u7167\uff1aOverriding specific HTML tags before using helper me\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"eshimatech\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tech.eshima.info\/?p=28\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u6c5f\u5cf6\uff20\u30b7\u30b9\u30c6\u30e0\u958b\u767a | \u4e3b\u306b\u30a6\u30a7\u30d6\u95a2\u4fc2\u306e\u6280\u8853\u7684\u306a\u3053\u3068\u3092\u30e1\u30e2\u3057\u307e\u3059\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u51fa\u529b\u3059\u308bHTML\u306e\u8a2d\u5b9a\u4e0a\u66f8\u304d | \u6c5f\u5cf6\uff20\u30b7\u30b9\u30c6\u30e0\u958b\u767a\" \/>\n\t\t<meta property=\"og:description\" content=\"\u53c2\u7167\uff1aOverriding specific HTML tags before using helper me\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tech.eshima.info\/?p=28\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2008-01-20T01:00:57+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2008-01-20T01:00:57+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u51fa\u529b\u3059\u308bHTML\u306e\u8a2d\u5b9a\u4e0a\u66f8\u304d | \u6c5f\u5cf6\uff20\u30b7\u30b9\u30c6\u30e0\u958b\u767a\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u53c2\u7167\uff1aOverriding specific HTML tags before using helper me\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?p=28#article\",\"name\":\"\\u51fa\\u529b\\u3059\\u308bHTML\\u306e\\u8a2d\\u5b9a\\u4e0a\\u66f8\\u304d | \\u6c5f\\u5cf6\\uff20\\u30b7\\u30b9\\u30c6\\u30e0\\u958b\\u767a\",\"headline\":\"\\u51fa\\u529b\\u3059\\u308bHTML\\u306e\\u8a2d\\u5b9a\\u4e0a\\u66f8\\u304d\",\"author\":{\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/#organization\"},\"datePublished\":\"2008-01-20T10:00:57+09:00\",\"dateModified\":\"2008-01-20T10:00:57+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?p=28#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?p=28#webpage\"},\"articleSection\":\"CakePHP\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?p=28#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tech.eshima.info#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/tech.eshima.info\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?cat=10#listItem\",\"name\":\"CakePHP\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?cat=10#listItem\",\"position\":2,\"name\":\"CakePHP\",\"item\":\"https:\\\/\\\/tech.eshima.info\\\/?cat=10\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?p=28#listItem\",\"name\":\"\\u51fa\\u529b\\u3059\\u308bHTML\\u306e\\u8a2d\\u5b9a\\u4e0a\\u66f8\\u304d\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tech.eshima.info#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?p=28#listItem\",\"position\":3,\"name\":\"\\u51fa\\u529b\\u3059\\u308bHTML\\u306e\\u8a2d\\u5b9a\\u4e0a\\u66f8\\u304d\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?cat=10#listItem\",\"name\":\"CakePHP\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/#organization\",\"name\":\"\\u6c5f\\u5cf6\\uff20\\u30b7\\u30b9\\u30c6\\u30e0\\u958b\\u767a\",\"description\":\"\\u4e3b\\u306b\\u30a6\\u30a7\\u30d6\\u95a2\\u4fc2\\u306e\\u6280\\u8853\\u7684\\u306a\\u3053\\u3068\\u3092\\u30e1\\u30e2\\u3057\\u307e\\u3059\",\"url\":\"https:\\\/\\\/tech.eshima.info\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?author=2#author\",\"url\":\"https:\\\/\\\/tech.eshima.info\\\/?author=2\",\"name\":\"eshimatech\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?p=28#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c4bfd517fbe2f3f44baf3808cbdf41276452eade0b100b1c2b5c1128c4d65324?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"eshimatech\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?p=28#webpage\",\"url\":\"https:\\\/\\\/tech.eshima.info\\\/?p=28\",\"name\":\"\\u51fa\\u529b\\u3059\\u308bHTML\\u306e\\u8a2d\\u5b9a\\u4e0a\\u66f8\\u304d | \\u6c5f\\u5cf6\\uff20\\u30b7\\u30b9\\u30c6\\u30e0\\u958b\\u767a\",\"description\":\"\\u53c2\\u7167\\uff1aOverriding specific HTML tags before using helper me\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?p=28#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/?author=2#author\"},\"datePublished\":\"2008-01-20T10:00:57+09:00\",\"dateModified\":\"2008-01-20T10:00:57+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/#website\",\"url\":\"https:\\\/\\\/tech.eshima.info\\\/\",\"name\":\"\\u6c5f\\u5cf6\\uff20\\u30b7\\u30b9\\u30c6\\u30e0\\u958b\\u767a\",\"description\":\"\\u4e3b\\u306b\\u30a6\\u30a7\\u30d6\\u95a2\\u4fc2\\u306e\\u6280\\u8853\\u7684\\u306a\\u3053\\u3068\\u3092\\u30e1\\u30e2\\u3057\\u307e\\u3059\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/tech.eshima.info\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u51fa\u529b\u3059\u308bHTML\u306e\u8a2d\u5b9a\u4e0a\u66f8\u304d | \u6c5f\u5cf6\uff20\u30b7\u30b9\u30c6\u30e0\u958b\u767a","description":"\u53c2\u7167\uff1aOverriding specific HTML tags before using helper me","canonical_url":"https:\/\/tech.eshima.info\/?p=28","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tech.eshima.info\/?p=28#article","name":"\u51fa\u529b\u3059\u308bHTML\u306e\u8a2d\u5b9a\u4e0a\u66f8\u304d | \u6c5f\u5cf6\uff20\u30b7\u30b9\u30c6\u30e0\u958b\u767a","headline":"\u51fa\u529b\u3059\u308bHTML\u306e\u8a2d\u5b9a\u4e0a\u66f8\u304d","author":{"@id":"https:\/\/tech.eshima.info\/?author=2#author"},"publisher":{"@id":"https:\/\/tech.eshima.info\/#organization"},"datePublished":"2008-01-20T10:00:57+09:00","dateModified":"2008-01-20T10:00:57+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/tech.eshima.info\/?p=28#webpage"},"isPartOf":{"@id":"https:\/\/tech.eshima.info\/?p=28#webpage"},"articleSection":"CakePHP"},{"@type":"BreadcrumbList","@id":"https:\/\/tech.eshima.info\/?p=28#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tech.eshima.info#listItem","position":1,"name":"Home","item":"https:\/\/tech.eshima.info","nextItem":{"@type":"ListItem","@id":"https:\/\/tech.eshima.info\/?cat=10#listItem","name":"CakePHP"}},{"@type":"ListItem","@id":"https:\/\/tech.eshima.info\/?cat=10#listItem","position":2,"name":"CakePHP","item":"https:\/\/tech.eshima.info\/?cat=10","nextItem":{"@type":"ListItem","@id":"https:\/\/tech.eshima.info\/?p=28#listItem","name":"\u51fa\u529b\u3059\u308bHTML\u306e\u8a2d\u5b9a\u4e0a\u66f8\u304d"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tech.eshima.info#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tech.eshima.info\/?p=28#listItem","position":3,"name":"\u51fa\u529b\u3059\u308bHTML\u306e\u8a2d\u5b9a\u4e0a\u66f8\u304d","previousItem":{"@type":"ListItem","@id":"https:\/\/tech.eshima.info\/?cat=10#listItem","name":"CakePHP"}}]},{"@type":"Organization","@id":"https:\/\/tech.eshima.info\/#organization","name":"\u6c5f\u5cf6\uff20\u30b7\u30b9\u30c6\u30e0\u958b\u767a","description":"\u4e3b\u306b\u30a6\u30a7\u30d6\u95a2\u4fc2\u306e\u6280\u8853\u7684\u306a\u3053\u3068\u3092\u30e1\u30e2\u3057\u307e\u3059","url":"https:\/\/tech.eshima.info\/"},{"@type":"Person","@id":"https:\/\/tech.eshima.info\/?author=2#author","url":"https:\/\/tech.eshima.info\/?author=2","name":"eshimatech","image":{"@type":"ImageObject","@id":"https:\/\/tech.eshima.info\/?p=28#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/c4bfd517fbe2f3f44baf3808cbdf41276452eade0b100b1c2b5c1128c4d65324?s=96&d=mm&r=g","width":96,"height":96,"caption":"eshimatech"}},{"@type":"WebPage","@id":"https:\/\/tech.eshima.info\/?p=28#webpage","url":"https:\/\/tech.eshima.info\/?p=28","name":"\u51fa\u529b\u3059\u308bHTML\u306e\u8a2d\u5b9a\u4e0a\u66f8\u304d | \u6c5f\u5cf6\uff20\u30b7\u30b9\u30c6\u30e0\u958b\u767a","description":"\u53c2\u7167\uff1aOverriding specific HTML tags before using helper me","inLanguage":"ja","isPartOf":{"@id":"https:\/\/tech.eshima.info\/#website"},"breadcrumb":{"@id":"https:\/\/tech.eshima.info\/?p=28#breadcrumblist"},"author":{"@id":"https:\/\/tech.eshima.info\/?author=2#author"},"creator":{"@id":"https:\/\/tech.eshima.info\/?author=2#author"},"datePublished":"2008-01-20T10:00:57+09:00","dateModified":"2008-01-20T10:00:57+09:00"},{"@type":"WebSite","@id":"https:\/\/tech.eshima.info\/#website","url":"https:\/\/tech.eshima.info\/","name":"\u6c5f\u5cf6\uff20\u30b7\u30b9\u30c6\u30e0\u958b\u767a","description":"\u4e3b\u306b\u30a6\u30a7\u30d6\u95a2\u4fc2\u306e\u6280\u8853\u7684\u306a\u3053\u3068\u3092\u30e1\u30e2\u3057\u307e\u3059","inLanguage":"ja","publisher":{"@id":"https:\/\/tech.eshima.info\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"\u6c5f\u5cf6\uff20\u30b7\u30b9\u30c6\u30e0\u958b\u767a | \u4e3b\u306b\u30a6\u30a7\u30d6\u95a2\u4fc2\u306e\u6280\u8853\u7684\u306a\u3053\u3068\u3092\u30e1\u30e2\u3057\u307e\u3059","og:type":"article","og:title":"\u51fa\u529b\u3059\u308bHTML\u306e\u8a2d\u5b9a\u4e0a\u66f8\u304d | \u6c5f\u5cf6\uff20\u30b7\u30b9\u30c6\u30e0\u958b\u767a","og:description":"\u53c2\u7167\uff1aOverriding specific HTML tags before using helper me","og:url":"https:\/\/tech.eshima.info\/?p=28","article:published_time":"2008-01-20T01:00:57+00:00","article:modified_time":"2008-01-20T01:00:57+00:00","twitter:card":"summary","twitter:title":"\u51fa\u529b\u3059\u308bHTML\u306e\u8a2d\u5b9a\u4e0a\u66f8\u304d | \u6c5f\u5cf6\uff20\u30b7\u30b9\u30c6\u30e0\u958b\u767a","twitter:description":"\u53c2\u7167\uff1aOverriding specific HTML tags before using helper me"},"aioseo_meta_data":{"post_id":"28","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 03:54:56","updated":"2025-06-04 05:00:22","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tech.eshima.info\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tech.eshima.info\/?cat=10\" title=\"CakePHP\">CakePHP<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u51fa\u529b\u3059\u308bHTML\u306e\u8a2d\u5b9a\u4e0a\u66f8\u304d\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tech.eshima.info"},{"label":"CakePHP","link":"https:\/\/tech.eshima.info\/?cat=10"},{"label":"\u51fa\u529b\u3059\u308bHTML\u306e\u8a2d\u5b9a\u4e0a\u66f8\u304d","link":"https:\/\/tech.eshima.info\/?p=28"}],"_links":{"self":[{"href":"https:\/\/tech.eshima.info\/index.php?rest_route=\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.eshima.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.eshima.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.eshima.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.eshima.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":0,"href":"https:\/\/tech.eshima.info\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions"}],"wp:attachment":[{"href":"https:\/\/tech.eshima.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.eshima.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.eshima.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}