You cannot post messages because only members can post, and you are not currently a member.
Description:
Doctrine User mailing list. For questions regarding installation and usage of doctrine.
|
|
|
I18n not creating record property / related component "Translation"
|
| |
So I create a model that acts as I18n. I do it just as the docs say. Then when I try to add something with $record['Translation']['langua ge']['column'] = 'value'; I get the following exception: Doctrine_Record_UnknownPropert yException: Unknown record property / related component "Translation" on "Simple"... more »
|
|
Equal nest relation with join conditions
|
| |
Hi,
I'm wondering if there's a clean way to acheive this using Doctrine.
Currently I'm just post-processing a record set filtered by one of my
requirements. Basically I won't to complicate the following
documentation by restricting each side of the relationship to a
particular language:
[link]... more »
|
|
Doctrine integration with MSSQL
|
| |
Hi,
I'm stuck having to work with MSSQL at work. I've done my best to
deal with this monster and to say at the very least Doctrine plays
nicer, a lot nicer, with MSSQL then Propel did. But I'm having the
following problems:
1 - Mssql Dates
MS-SQL dates return an annoying '.000' at the end of them. Doctrine... more »
|
|
Nested Set: Resolve with path
|
| |
Dear Friends,
I have got a path (string) like the following: /food/fruits/apple
I have got also a nested set which is managed by doctrine (and it is
managing it very good and I am very happy with that).
Now I want to resolve this nested set with the path I have described
above.
- Is that possible with native doctrine facilities?... more »
|
|
Many 2 Many with extra field
|
| |
Hi everybody,
I was wondering if it is possible to define a many2many relationship
that has an extra field associated. For example a Person model and a
PhoneNumber model which have a bidirectional relationship with each
other. A person might have a work number and a personal number, the
work number might be related to more than one Person.... more »
|
|
Address Model
|
| |
Ever tried to create an Address Model / Table?
Address:
columns:
test: string(33)
generate-models-yaml is doing OK.
But build-all-releoad throws an error.
Is this a bug or a feature?
|
|
Behavior with self-referencing relation
|
| |
Hi,
I want to create a behavior with a self-referencing relation. Its goal
is to make copies of records. Here is what I've tried:
class MyTemplate extends Doctrine_Template
{
public function setTableDefinition()
{
$this->hasColumn('original_id' , 'integer', 4);
}
public function setUp()... more »
|
|
Doctrine 1.x and 2.0 in one project
|
| |
Hi! Can Doctrine 1.x and 2.0 be used in parallel? The project uses many Doctrine 1 (DC) classes (which I don't want to migrate yet) and will use some new Doctrine 2 (DDC) classes (some of which share database tables with DC classes). Is this possbile? Will the library classnames collide, or is this... more »
|
|
Doctrine 2: How to create custom Types
|
| |
Hi! What is the best way to add custom Types to DDC? There is for example DC's ENUM type (which is currently missing in DDC, see DDC-65 [1]) - as ENUM may be DBMS specific, what is the best way to implement it? Can I do it as plugin/extension, or do I have to patch DDC? Nico [1] [link]... more »
|
|
|