Changeset 7263
- Timestamp:
- 03/01/10 16:51:24 (5 months ago)
- Location:
- docs/branches
- Files:
-
- 7 modified
-
1.0/manual/en/defining-models.txt (modified) (1 diff)
-
1.0/manual/ja/defining-models.txt (modified) (1 diff)
-
1.1/manual/en/defining-models.txt (modified) (1 diff)
-
1.1/manual/es/defining-models.txt (modified) (1 diff)
-
1.1/manual/ja/defining-models.txt (modified) (1 diff)
-
1.2/manual/en/defining-models.txt (modified) (1 diff)
-
1.2/manual/ja/defining-models.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
docs/branches/1.0/manual/en/defining-models.txt
r5869 r7263 1231 1231 1232 1232 > **NOTE** 1233 > Please note that {{group}} is a reserved keyword so that is why we renamed the table to {{groups}} using the {{setTableName}} method. The other option is to turn on identifier quoting using the {{Doctrine::ATTR_QUOTE_IDENTIFIER S}} attribute so that the reserved word is escaped with quotes.1234 1235 <code type="php"> 1236 $manager->setAttribute(Doctrine::Doctrine::ATTR_QUOTE_IDENTIFIER S, true);1233 > Please note that {{group}} is a reserved keyword so that is why we renamed the table to {{groups}} using the {{setTableName}} method. The other option is to turn on identifier quoting using the {{Doctrine::ATTR_QUOTE_IDENTIFIER}} attribute so that the reserved word is escaped with quotes. 1234 1235 <code type="php"> 1236 $manager->setAttribute(Doctrine::Doctrine::ATTR_QUOTE_IDENTIFIER, true); 1237 1237 </code> 1238 1238 -
docs/branches/1.0/manual/ja/defining-models.txt
r7078 r7263 1218 1218 1219 1219 > **NOTE** 1220 > {{group}}は予約語であることにご注意ください。これが{{setTableName}}メソッドを使用してテーブルを{{groups}}にリネームする理由です。予約語がクォートでエスケープされるように他のオプションは{{Doctrine::ATTR_QUOTE_IDENTIFIER S}}属性を使用して識つのカラム(もしくはカラムのグループ)の値が別のテーブルの列に現れる値にマッチしなければならないことを指定します。言い換えると外部キー制約は2つの関連テーブルの間の参照統合性を維持します。1220 > {{group}}は予約語であることにご注意ください。これが{{setTableName}}メソッドを使用してテーブルを{{groups}}にリネームする理由です。予約語がクォートでエスケープされるように他のオプションは{{Doctrine::ATTR_QUOTE_IDENTIFIER}}属性を使用して識つのカラム(もしくはカラムのグループ)の値が別のテーブルの列に現れる値にマッチしなければならないことを指定します。言い換えると外部キー制約は2つの関連テーブルの間の参照統合性を維持します。 1221 1221 1222 1222 次の定義を持つ製品テーブルがあるとします: -
docs/branches/1.1/manual/en/defining-models.txt
r6539 r7263 1231 1231 1232 1232 > **NOTE** 1233 > Please note that {{group}} is a reserved keyword so that is why we renamed the table to {{groups}} using the {{setTableName}} method. The other option is to turn on identifier quoting using the {{Doctrine::ATTR_QUOTE_IDENTIFIER S}} attribute so that the reserved word is escaped with quotes.1234 1235 <code type="php"> 1236 $manager->setAttribute(Doctrine::Doctrine::ATTR_QUOTE_IDENTIFIER S, true);1233 > Please note that {{group}} is a reserved keyword so that is why we renamed the table to {{groups}} using the {{setTableName}} method. The other option is to turn on identifier quoting using the {{Doctrine::ATTR_QUOTE_IDENTIFIER}} attribute so that the reserved word is escaped with quotes. 1234 1235 <code type="php"> 1236 $manager->setAttribute(Doctrine::Doctrine::ATTR_QUOTE_IDENTIFIER, true); 1237 1237 </code> 1238 1238 -
docs/branches/1.1/manual/es/defining-models.txt
r5935 r7263 1231 1231 1232 1232 > **NOTE** 1233 > Please note that {{group}} is a reserved keyword so that is why we renamed the table to {{groups}} using the {{setTableName}} method. The other option is to turn on identifier quoting using the {{Doctrine::ATTR_QUOTE_IDENTIFIER S}} attribute so that the reserved word is escaped with quotes.1234 1235 <code type="php"> 1236 $manager->setAttribute(Doctrine::Doctrine::ATTR_QUOTE_IDENTIFIER S, true);1233 > Please note that {{group}} is a reserved keyword so that is why we renamed the table to {{groups}} using the {{setTableName}} method. The other option is to turn on identifier quoting using the {{Doctrine::ATTR_QUOTE_IDENTIFIER}} attribute so that the reserved word is escaped with quotes. 1234 1235 <code type="php"> 1236 $manager->setAttribute(Doctrine::Doctrine::ATTR_QUOTE_IDENTIFIER, true); 1237 1237 </code> 1238 1238 -
docs/branches/1.1/manual/ja/defining-models.txt
r7078 r7263 1219 1219 1220 1220 > **NOTE** 1221 > {{group}}は予約語であることにご注意ください。これが{{setTableName}}メソッドを使用してテーブルを{{groups}}にリネームする理由です。予約語がクォートでエスケープされるように他のオプションは{{Doctrine::ATTR_QUOTE_IDENTIFIER S}}属性を使用して識別子のクォート追加を有功にすることです。1222 1223 <code type="php"> 1224 $manager->setAttribute(Doctrine::ATTR_QUOTE_IDENTIFIER S, true);1221 > {{group}}は予約語であることにご注意ください。これが{{setTableName}}メソッドを使用してテーブルを{{groups}}にリネームする理由です。予約語がクォートでエスケープされるように他のオプションは{{Doctrine::ATTR_QUOTE_IDENTIFIER}}属性を使用して識別子のクォート追加を有功にすることです。 1222 1223 <code type="php"> 1224 $manager->setAttribute(Doctrine::ATTR_QUOTE_IDENTIFIER, true); 1225 1225 </code> 1226 1226 -
docs/branches/1.2/manual/en/defining-models.txt
r6884 r7263 1232 1232 1233 1233 > **NOTE** 1234 > Please note that {{group}} is a reserved keyword so that is why we renamed the table to {{groups}} using the {{setTableName}} method. The other option is to turn on identifier quoting using the {{Doctrine_Core::ATTR_QUOTE_IDENTIFIER S}} attribute so that the reserved word is escaped with quotes.1235 1236 <code type="php"> 1237 $manager->setAttribute(Doctrine_Core::Doctrine_Core::ATTR_QUOTE_IDENTIFIER S, true);1234 > Please note that {{group}} is a reserved keyword so that is why we renamed the table to {{groups}} using the {{setTableName}} method. The other option is to turn on identifier quoting using the {{Doctrine_Core::ATTR_QUOTE_IDENTIFIER}} attribute so that the reserved word is escaped with quotes. 1235 1236 <code type="php"> 1237 $manager->setAttribute(Doctrine_Core::Doctrine_Core::ATTR_QUOTE_IDENTIFIER, true); 1238 1238 </code> 1239 1239 -
docs/branches/1.2/manual/ja/defining-models.txt
r7078 r7263 1220 1220 1221 1221 > **NOTE** 1222 > {{group}}は予約語であることにご注意ください。これが{{setTableName}}メソッドを使用してテーブルを{{groups}}にリネームする理由です。予約語がクォートでエスケープされるように他のオプションは{{Doctrine::ATTR_QUOTE_IDENTIFIER S}}属性を使用して識別子のクォート追加を有功にすることです。1223 1224 <code type="php"> 1225 $manager->setAttribute(Doctrine_Core::ATTR_QUOTE_IDENTIFIER S, true);1222 > {{group}}は予約語であることにご注意ください。これが{{setTableName}}メソッドを使用してテーブルを{{groups}}にリネームする理由です。予約語がクォートでエスケープされるように他のオプションは{{Doctrine::ATTR_QUOTE_IDENTIFIER}}属性を使用して識別子のクォート追加を有功にすることです。 1223 1224 <code type="php"> 1225 $manager->setAttribute(Doctrine_Core::ATTR_QUOTE_IDENTIFIER, true); 1226 1226 </code> 1227 1227