I have a page for editing records of the Venue model in my app.This page was working at some stage, but is now broken.
I have a deals table, with a field start date in the controller i am trying the below code and it is not returning any deal when there is deals with these conditions
I have several fields in some of my database tables that my CakePHP models never need to retrieve. Is there some way to set a default set of fields to fetch at the model level? For instance 开发者_开发
I\'m writing an application which supports multiple units of measurement.In the r开发者_如何学Care event a user wanted to change their system of measurement, I need to run a query which applies a mult
I am currently trying to bake models for a project in CakePHP. I have set up my database tables and baked my skeleton project. I then execute the following via terminal:
I have a behavior with an afterFind function that I 开发者_运维百科only want called on a non-admin prefix.$this->params does not work, since $this is referencing the behavior.How can I make this behav
I\'m trying to write some beforeSave logic in CakePHP 2.0 beta. Basically I want the user to be able to submit some text for tag-like functionality. The beforeSave function would search a related tabl
I have a model - \"Category\" which HABTM \"Blog\".I need to create a query that will only select categories that have more zero blogs associated with them.I\'m having t开发者_高级运维rouble working o
I have a users controllers, I need to use photos model on that users_controllers which can i use to access that model from the following and which is standard to use?
I have a User controller and User model. This model and associated database table is used for authentication and naturally there\'s a password field.