cakephp-model
Cakephp - Saving related models
I have the following relationships between my models: Assignment hasMany Question Question belongsTo Assignment[详细]
2023-03-24 14:47 分类:问答changing user model won't let me pull from Users now
I have 1 database linking to 2 apps. For the second app, I change the Auth table like so... $this->Auth->userModel = \'newAuthTable\';[详细]
2023-03-24 04:13 分类:问答Cakephp model association
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.[详细]
2023-03-24 02:35 分类:问答Creating Model without associations
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[详细]
2023-03-23 21:46 分类:问答CakePHP model belongs to any other model
I am not sure what is the correct title. Here is my problem: There are several models such as: Company[详细]
2023-03-22 03:19 分类:问答Removing a Table From CakePHP
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[详细]
2023-03-21 02:04 分类:问答belongsTo relationship & filtering in cakePHP
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.[详细]
2023-03-17 13:51 分类:问答How to remove model using command line from CakePHP project
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?[详细]
2023-03-14 07:54 分类:问答CakePHP find conditions generate SQL "WHERE ... AND 1"
Here\'s my code: $attendances = $this->Pupil->Attendance->find(\'all\', array( \'conditions\'=>array([详细]
2023-03-12 06:34 分类:问答Problem with updating record in database
I have problem to update user data in cakephp. When I submit form I have this data in $this->data: Array[详细]
2023-03-11 18:11 分类:问答
加载中,请稍侯......