{"id":910,"date":"2010-04-26T01:47:00","date_gmt":"2010-04-25T16:47:00","guid":{"rendered":"http:\/\/www.kazu.tv\/blog\/?p=910"},"modified":"2010-04-26T01:47:00","modified_gmt":"2010-04-25T16:47:00","slug":"sfguarduser","status":"publish","type":"post","link":"https:\/\/kazu.tv\/blog\/2010\/04\/26\/sfguarduser\/","title":{"rendered":"sfGuardUser\u3068\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u30c6\u30fc\u30d6\u30eb\u3092\u95a2\u9023\u3065\u3051\u308b"},"content":{"rendered":"<p>symfony 1.1\u3092\u4f7f\u3063\u3066\u3044\u305f\u6642\u306b\u3001sfGuardPlugin\u306b\u3064\u3044\u3066\u306e<a href=\"http:\/\/www.kazu.tv\/blog\/archives\/000740.html\">\u30a8\u30f3\u30c8\u30ea\u30fc<\/a>\u3092\u66f8\u3044\u305f\u3002sfGuardUser\u30c6\u30fc\u30d6\u30eb\u306b\u306f\u30ed\u30b0\u30a4\u30f3ID\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u304f\u3089\u3044\u3057\u304b\u60c5\u5831\u304c\u7121\u304f\u3066\u3001\u672c\u540d\u3084\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306a\u3069\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u5225\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u3063\u30661:1\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u3055\u305b\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u3068\u3044\u3046\u5185\u5bb9\u3002<\/p>\n<p>symfony 1.4\u3067sfDoctrineGuardPlugin\u3067\u3082\u57fa\u672c\u30b3\u30f3\u30bb\u30d7\u30c8\u306f\u4e00\u7dd2\u306a\u3093\u3060\u3051\u3069\u3001\u3053\u306e<a href=\"http:\/\/www.symfony-project.org\/blog\/2008\/11\/12\/call-the-expert-customizing-sfdoctrineguardplugin\" target=\"_blank\">\u30da\u30fc\u30b8<\/a>\uff08\u82f1\u8a9e\uff09\u306b\u5f93\u3063\u3066\u3084\u3063\u305f\u3089\u975e\u5e38\u306b\u7c21\u5358\u306b\u3067\u304d\u305f\u3002\u6982\u7565\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<ul>\n<li>schema.yml\u306b\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u30c6\u30fc\u30d6\u30eb\uff08Profile\uff09\u3092\u8ffd\u52a0\u3057\u3001sfGuardUser\u3068\u95a2\u9023\u3065\u3051\u308b<\/li>\n<li>sfGuardUser\u306efixture\u3092\u4fee\u6b63<\/li>\n<li>symfony doctrine:build\u3067\u30c6\u30fc\u30d6\u30eb\u3001\u30e2\u30c7\u30eb\u3001\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u6210<\/li>\n<li>sfGuardUserAdminForm.class.php\u3092\u4fee\u6b63\u3057\u3001\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30a9\u30fc\u30e0\u3082\u8aad\u307f\u8fbc\u3080<\/li>\n<li>generator.yml\u3092\u5c11\u3057\u4fee\u6b63<\/li>\n<\/ul>\n<p>\u4e00\u70b9\u6ce8\u610f\u3002\u591a\u5206\u3001schema.yml\u306esfGuardUser\u3068Profile\u306e\u5916\u90e8\u30ad\u30fc\u306e\u6240\u3067\u3001onDelete: CASCADE \u304c\u5fc5\u8981\u306a\u6c17\u304c\u3059\u308b\u3002<\/p>\n<p>\u203b\u305d\u306e\u4ed6\u3001sfGuardPlugin\u95a2\u4fc2\u306etips\u3092\u307e\u3068\u3081\u305f<a href=\"http:\/\/trac.symfony-project.org\/wiki\/sfGuardPluginExtraDocumentation\" target=\"_blank\">\u30da\u30fc\u30b8<\/a>\u304c\u3042\u3063\u305f\u3002\u3068\u3044\u3046\u304b\u3053\u3063\u3061\u306e\u30da\u30fc\u30b8\u3092\u5148\u306b\u898b\u3064\u3051\u305f\u3002\u305d\u3053\u3067\u30012\u3064\u306e\u30c6\u30fc\u30d6\u30eb\uff08sfGuardUser\u3068sfGuardUserProfile\uff09\u3092\u95a2\u9023\u3065\u3051\u308b\u65b9\u6cd5\u306f\u66f8\u3044\u3066\u3042\u3063\u305f\u3051\u3069\u30011\u3064\u306e\u753b\u9762\u3067\u7de8\u96c6\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u65b9\u6cd5\u306f\u8f09\u3063\u3066\u306a\u304b\u3063\u305f\u3002<\/p>\n<p>\u25a0\u74b0\u5883<\/p>\n<p>symfony 1.4.3<\/p>\n","protected":false},"excerpt":{"rendered":"<p>symfony 1.1\u3092\u4f7f\u3063\u3066\u3044\u305f\u6642\u306b\u3001sfGuardPlugin\u306b\u3064\u3044\u3066\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u66f8\u3044\u305f\u3002sfGuardUser\u30c6\u30fc\u30d6\u30eb\u306b\u306f\u30ed\u30b0\u30a4\u30f3ID\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u304f\u3089\u3044\u3057\u304b\u60c5\u5831\u304c\u7121\u304f\u3066\u3001\u672c\u540d\u3084\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306a\u3069\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u5225\u30c6&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[401],"tags":[677,672,678,455,442],"class_list":["post-910","post","type-post","status-publish","format-standard","hentry","category-php","tag-profile","tag-sfdoctrineguardplugin","tag-sfguarduser","tag-sfguarduserprofile","tag-symfony"],"_links":{"self":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/comments?post=910"}],"version-history":[{"count":0,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/910\/revisions"}],"wp:attachment":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/media?parent=910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/categories?post=910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/tags?post=910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}