Web Images Videos Maps News Shopping Google Mail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Group info
Language: English
Group categories:
Computers > Programming
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 1620  Older »

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.
 

Validation minlength and empty 
  Using the minlength validator works fine. But how to use Doctrine validation minlength only if a value is entered, allowing Null, Example: check only for minlength of a name if a name is entered.
By dantan  - 09:50 - 1 new of 1 message    

mssql varbinary 
  I'm using mssql and doctrine. Doctrine can create the associated record and save the data to the db but I'm unable to read the data back from the db. I've tried every combination of data types and lengths that I can think of with blob and null as the assumed correct combo. Any help would be appreciated.... more »
By BoulderRider  - 21 Nov - 1 new of 1 message    

Request: "resurrect" orphaned entities when they've been moved to anew collection 
  The semantics of my application involves that if I move if I change a entities owner, the other side of the relationship should change as well. Meaning that the old parent should remove that entity from its grasps, and the new owner should have a reference to it. Now, normally, this would have nothing to do with Doctrine, since Doctrine... more »
By Avi Block  - 20 Nov - 2 new of 2 messages    

many-tomany relations with more than two tables 
  Hi, I try to configure an yml file to represent a relation between more than two tables. I don't know how to do that. Here is the problem : 1 user works in many departments 1 user hasMany offices 1 user hasMany missions 1 user hasMany phoneNumbers The thing is that each association is unique, I want that in my... more »
By jpj  - 20 Nov - 1 new of 1 message    

Self-hasMany 
  Hi, I have a model named "User" <?php class User extends UserBase { public function setUp() { $this->hasMany('User as Friends', local( 'local' => 'first_user_id', 'foreign' => 'second_user_id', 'refClass' => 'FriendsRelation', );... more »
By nami doc  - 20 Nov - 1 new of 1 message    

Same component on Doctrine_RawSql isnt possible to add with different Alias 
  Hello All! Our query is very complex and to implement this in DQL, would be very difficult. So, I decided to use Doctrine_RawSql only to simplify the task. Take a look on our query / ****************************** ****************************** **********/ $sql = "SELECT DISTINCT {TC.category_id}, {T.id}, {T.tag}, IF... more »
By Wilbor-PHP  - 20 Nov - 1 new of 1 message    

How to alter in get and set for the database 
  I want to know how to alter a variable of an record when i retrieve or when i save it to database, cause mutator does not act when i fetch a record from the db, it only act when i explicitly set the variable. Mutator act ex. $record->value = "A";
By Diego Potapczuk  - 20 Nov - 1 new of 1 message    

Default values and Proxies 
  Hi! I'd like to use Doctrine 2.0 and its Proxy features. - - - - 8< - - - - $userId = 31; // e.g. from $_REQUEST $user = $em->getReference('Entity\User ', $userId); // $em->flush(); $a = new Address(); ... $a->setUser($user); $em->persist(); $em->flush(); - - - - 8< - - - - Now if the User class looks like this:... more »
By Nico Kaiser  - 20 Nov - 3 new of 3 messages    

Problem regarding Single Table Inheritance 
  I was testing single table inheritance and a class hierarchy and a table described below. Now, I assumed that $module = $em->find('Module', 1); would result in an object of class SubModule, just as with class table inheritance, but it results in an object of class Module. Is this correct behaviour, am I forgetting something, or is this a... more »
By Reinier Kip  - 20 Nov - 2 new of 2 messages    

Does Doctrine 1.2 support polymorphic associations? 
  Hello, I have trouble getting polymorphic associations to work in Doctrine 1.2, and I just realized that this is not a feature explicitly mentioned in the documentation (just something I expected to work). Scenario is simple: I have a class hierarchy of classes PartA, PartB extends PartA, PartC extends PartB, mapped via Single Table... more »
By Michael Plomer  - 20 Nov - 1 new of 1 message    

1 - 10 of 1620   « Newer | Older »

XML       Send an email to this group: doctrine-user@googlegroups.com
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google