I have the following relationships between my models: Assignment hasMany Question Question belongsTo Assignment
I have 1 database linking to 2 apps. For the second app, I change the Auth table like so... $this->Auth->userModel = \'newAuthTable\';
I am trying to figure out which relationship type should I use to relate the following: We have a classroom that has a teacher and students.
I\'m planning to implement some static pages on my current CakePHP site. These static pages would be stored in a table called pages where it will have 2 field; title and content. 开发者_JAVA百科Then
I am not sure what is the correct title. Here is my problem: There are several models such as: Company
I am trying to remove a table from CakePHP. All the tables were created with the cake bake function and I have removed the table from all the models. But when I remove the table from the database I ge
I\'m a newbie to cakePHP and I\'ve taken on creating a very small \"status reporting\" project, that would allow a user to report their current status on a project that they were assigned on.
I have an annoying model that I accidentally created that keeps interfering with my cake schema run update command. how can I destroy this model?
Here\'s my code: $attendances = $this->Pupil->Attendance->find(\'all\', array( \'conditions\'=>array(
I have problem to update user data in cakephp. When I submit form I have this data in $this->data: Array