doctrine-1.2
Doctrine 1.2: Using postDelete to delete related files on filesystem -- with transaction support
Thi开发者_如何学Cs question is a sort of extension to this question: Perform some cleanup when deleting a record in Symfony/Doctrine[详细]
2023-01-23 12:55 分类:问答What is the correct way to retrieve information from two tables using doctrine ORM
I am trying to perform a simple join on two tables and am having trouble finding the right syntax to use - I know i am missing something simple.[详细]
2023-01-22 14:02 分类:问答Doctrine Self Referencing is not working in Symfony 1.4 when updating or deleting
I\'m trying to build a model for content pages on my site, and i gave it a self reference named \'Related Page\'. Now if i build my models and try to create a new page in the admin generator everythin[详细]
2023-01-20 23:33 分类:问答Doctrine 1.2: Adding validation method to record template
In a Doctrine Record object, I can add the following method to validate data: protected function validate()[详细]
2023-01-20 02:46 分类:问答Doctrine ORM - Prefixing Tables
I\'m using Doctrine 1.2, and would like to know how I can achieve mysql table prefixes with it. So for instance I would like for our system to be deployed twice on the same database, the first the ta[详细]
2023-01-19 01:55 分类:问答Doctrine 1.2: Overriding Doctrine_Record::__get() from a template
I have a model class (obviously, it extends Doctrine_Record) that \"acts as\" a custom templa开发者_运维问答te.[详细]
2023-01-16 17:06 分类:问答Creating a Doctrine behavior: How to access actAs() params from within a listener object
I\'m creating a behavior (one template and one listener). In the template class, I\'m using the addListener() method to attach the listener to the model.[详细]
2023-01-15 10:30 分类:问答Unexpected doctrine validation error about length when setting the field null
I have a field that is defined as follows: class Subcategory extends BaseSubcategory {} abstract class BaseSubcategory extends Doctrine_Record[详细]
2023-01-13 02:48 分类:问答Symfony embedRelation options - setting sub-form field visibility
The prototype of embedRelation makes reference to an \'options\' array (passed as $formArguments/$formargs).[详细]
2023-01-11 20:37 分类:问答Doctrine: Set field value to SQL expression
I need to set value in mapped record to some arbitrary sql expression, so on obj.save() it would be used directly开发者_StackOverflow社区, w/out escaping/quoting.[详细]
2023-01-11 16:24 分类:问答