cakephp-model
CakePHP Model index array needed, but can't generate from for loop counter. Need model indexed array for this to work
I am working on a function that submits multiple records on various relationship types. The main issue I am running into is the format of the array. In order for my saveAll() to work on my multiple re[详细]
2023-02-10 04:58 分类:问答CakePHP: How to build a User's Profile page
How do we build a profile page that outputs the user\'s data? and this page can only be viewed by the user who logged in. It\'s something like when we go to our profile page and view our own username,[详细]
2023-02-08 13:18 分类:问答HABTM echo value like standard relationship
I might be missing the point on this, but I am trying to echo out a HABTM开发者_开发百科 value in my index, and I cannot seem to get the data.[详细]
2023-02-07 16:54 分类:问答CakePHP common models
I have 3-4 apps running of the same Cake library, each app has its own controllers, models and views.[详细]
2023-01-31 20:50 分类:问答How to tell a model how to find its associated models?
First let m开发者_StackOverflowe note that I am new to MVC frameworks so don\'t assume any knowledge in that area.[详细]
2023-01-31 16:22 分类:问答CakePHP: accessing data from query in view
I have a hasMany relationship set up. User hasMany Projects. In my users controller in the profile view I can see the projects being returned for that user in the SQL dump.[详细]
2023-01-15 12:18 分类:问答CakePHP tables join help
new to cakePHP and trying my first join. I\'ve got one table called users and one called projects. one user can have many projects, so projects has a user_id column.[详细]
2023-01-12 07:30 分类:问答CakePHP - recursive on specific fields in model?
I\'m pretty new to CakePHP but I think I\'m starting to get the hang of it.I\'m trying to pull related table information recursively, but I want to specify which related models to recurse on.Let me gi[详细]
2022-12-27 04:37 分类:问答cakephp isUnique for 2 fields?
I have a registration form in which users can fill in two email address (email1 & email2). Marketing\'s requirement is that they need to be unique (unique as in if we had 10 users开发者_运维问答,[详细]
2022-12-23 08:48 分类:问答save() returning false, but with no error in CakePHP
My debug value is set to 2, and it\'s displaying all the queries, except the one I need. I have an Items controller method that is calling this method in the User model 开发者_开发问答(Item belongsTo[详细]
2022-12-20 19:04 分类:问答
加载中,请稍侯......