{"id":5,"date":"2009-05-16T16:09:05","date_gmt":"2009-05-16T07:09:05","guid":{"rendered":"https:\/\/memo.cute.bz\/cakephp\/?p=5"},"modified":"2009-05-16T16:09:05","modified_gmt":"2009-05-16T07:09:05","slug":"appimport-%e9%96%a2%e6%95%b0","status":"publish","type":"post","link":"https:\/\/memo.cute.bz\/cakephp\/?p=5","title":{"rendered":"App::import() \u95a2\u6570"},"content":{"rendered":"<h3>\u6982\u8981<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">import($type = null, $name = null, $parent = true, $search = array(), $file = null, $return = false)<\/pre>\n<p>\u6307\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3002<\/p>\n<h4>\u30d5\u30a1\u30a4\u30eb<\/h4>\n<p>\/cake\/lib\/configuer.php<\/p>\n<h4>\u30af\u30e9\u30b9<\/h4>\n<p>App\u30af\u30e9\u30b9<\/p>\n<p><!--more--><\/p>\n<h3>\u5f15\u6570<\/h3>\n<h4>type<\/h4>\n<p>\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u7a2e\u5225\uff08\u30af\u30e9\u30b9\uff09\u3002<br \/>\n\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u691c\u7d22\u3059\u308b\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u3002<\/p>\n<h5>\u30b3\u30a2\u30e9\u30a4\u30d6\u30e9\u30ea<\/h5>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">App::import('Core', $name)<\/pre>\n<h5>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9<\/h5>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">App::import('Controller', $name)<\/pre>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n'controller' =&gt; array(CONTROLLERS)\r\ndefine('CONTROLLERS', APP.'controllers'.DS);\r\n<\/pre>\n<h5>\u30e2\u30c7\u30eb<\/h5>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">App::import('Model', $name)<\/pre>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n'model' =&gt; array(MODELS)\r\ndefine('MODELS', APP.'models'.DS);\r\n<\/pre>\n<h5>\u30d3\u30e5\u30fc<\/h5>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">App::import('View', $name)<\/pre>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n'view' =&gt; array(VIEWS)\r\ndefine('VIEWS', APP.'views'.DS);\r\n<\/pre>\n<h5>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<\/h5>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">App::import('Component', $name)<\/pre>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n'component' =&gt; array(COMPONENTS)\r\ndefine('COMPONENTS', CONTROLLERS.'components'.DS);\r\n<\/pre>\n<h5>\u30d3\u30d8\u30a4\u30d3\u30a2<\/h5>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">App::import('Behavior', $name)<\/pre>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n'behavior' =&gt; array(BEHAVIORS)\r\ndefine('BEHAVIORS', MODELS.'behaviors'.DS);\r\n<\/pre>\n<h5>\u30d8\u30eb\u30d1\u30fc<\/h5>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">App::import('Helper', $name)<\/pre>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n'helper' =&gt; array(HELPERS)\r\ndefine('HELPERS', VIEWS.'helpers'.DS);\r\n<\/pre>\n<h5>\u30d7\u30e9\u30b0\u30a4\u30f3<\/h5>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">App::import('Plugin', $name)<\/pre>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">'plugin' =&gt; array(APP . 'plugins' . DS)<\/pre>\n<h5>\u30d9\u30f3\u30c0\u30fc<\/h5>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">App::import('Helper', $name)<\/pre>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n'vendor' =&gt; array(APP . 'vendors' . DS, VENDORS)\r\ndefine('VENDORS', CAKE_CORE_INCLUDE_PATH.DS.'vendors'.DS);\r\n<\/pre>\n<p>\u203b CAKE_CORE_INCLUDE_PATH \u306f cake \u306e\u30b3\u30a2\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3002<\/p>\n<h4>name<\/h4>\n<p>\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u540d\u3002<br \/>\ntype \u3067\u6307\u5b9a\u3057\u305f\u30d1\u30b9\u914d\u4e0b\u306e\u30d1\u30b9\uff0b\u30d5\u30a1\u30a4\u30eb\u540d\u3002<br \/>\n\u62e1\u5f35\u5b50\u3092\u9664\u304f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 import($type = null, $name = null, $parent = true, $search = array(), $file = null, $return = false) \u6307\u5b9a\u30d5\u30a1\u30a4\u30eb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-5","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=\/wp\/v2\/posts\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5"}],"version-history":[{"count":0,"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=\/wp\/v2\/posts\/5\/revisions"}],"wp:attachment":[{"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/memo.cute.bz\/cakephp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}