<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shiba_yu36</author_name>
  <author_url>https://blog.hatena.ne.jp/shiba_yu36/</author_url>
  <blog_title>$shibayu36-&gt;blog;</blog_title>
  <blog_url>https://blog.shibayu36.org/</blog_url>
  <categories>
    <anon>日記</anon>
  </categories>
  <description>formクラス内にprocessValues関数を記述することで、登録時に値変換を行うことができる。 例えば、ユーザにパスワード入力させて、暗号化した後、暗号化に使ったsaltと暗号化済みパスワードをデータベーステーブルに登録したい場合を考える。1．データベース定義 テーブル名はuser,カラムはid, name, salt, sha1_passwordとする。schemaは以下のようになる。database: user: id: ~ name: type: varchar(80) salt: type: varchar(32) sha1_password: type: varchar(40)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibayu36.org%2Fentry%2F20100311%2F1268295896&quot; title=&quot;symfonyのフォームの登録時に値を変換したい場合 - $shibayu36-&amp;gt;blog;&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-03-11 17:24:56</published>
  <title>symfonyのフォームの登録時に値を変換したい場合</title>
  <type>rich</type>
  <url>https://blog.shibayu36.org/entry/20100311/1268295896</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
