It appears as though that property is a public property of the Model class. If that truly is the case, you should be able to create an AppModel to override the default properties of ALL models in your application. In your case, all you need to do is override this one particular property.
Alternatively, if you wanted to create a method available to all of your models, you can do this in your AppModel as well. >From the book: http://book.cakephp.org/view/67/Understanding-Models "This intermediate class, AppModel, is empty and if you haven't created your own is taken from within the /cake/ folder. Overriding the AppModel allows you to define functionality that should be made available to all models within your application. To do so, you need to create your own app_model.php file that resides in the root of the / app/ folder. Creating a project using Bake will automatically generate this file for you." HTH On Apr 12, 2:44 pm, Adam <[email protected]> wrote: > I'm using Postgresql so I think I don't need the transaction calls in > Cake. Can I turn this off in the Model? > > I think this is where it is in the libs model... > /** > * Whether or not to enable transactions for this model (i.e. BEGIN/ > COMMIT/ROLLBACK statements) > * > * @var boolean > * @access public > */ > var $transactional = false; Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en To unsubscribe, reply using "remove me" as the subject.
