{"title":"\u3010CakePHP\u3011cake\u306eShell\u3067Component\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5","author_name":"aipacommander","provider_name":"Hatena Blog","version":"1.0","blog_title":"IT\u306e\u968a\u9577\u306e\u30d6\u30ed\u30b0","height":"190","image_url":"http://cdn.mogile.archive.st-hatena.com/v1/image/aipacommander/297789129598967254.gif","blog_url":"https://aipacommander.com/","url":"https://aipacommander.com/entry/2015/09/04/182138","type":"rich","width":"100%","categories":["CakePHP","PHP"],"published":"2015-09-04 18:21:38","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Faipacommander.com%2Fentry%2F2015%2F09%2F04%2F182138\" title=\"\u3010CakePHP\u3011cake\u306eShell\u3067Component\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5 - IT\u306e\u968a\u9577\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/aipacommander/","description":"\u307e\u305a\u306f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089\u3002 <?php // \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u8aad\u307f\u8fbc\u307f\u3092\u5fd8\u308c\u305a\u306b App::uses('ComponentCollection', 'Controller'); App::uses('CSVComponent', 'Controller/Component'); class BatchesShell extends AppShell { public $csvComponent = array(); // startup\u3067Component\u3092\u4f7f\u3046\u6e96\u5099\u3092\u3059\u308b public function startup() { $collection = new ComponentCollectio\u2026","provider_url":"https://hatena.blog"}