1 answer
0 votes
Security::cipher()
I'm using the AutoLogin component Miles Johnson to add a 'remember me' feature to my login page.
All the while that debug is set to 0, it seems to work fine, but as soon as debug is higher than 1 I get the following error message at the top of...
1 answer
0 votes
How do I change the primary key during a bindModel?
I'm trying to use bindModel to bind two models together. The problem I'm having is that during a bindModel, I can't seem to get the $primaryKey function working. I don't want to bind the primary keys.
I've seen this documentation about...
1 answer
0 votes
How to check the validness of a foreign-key (must contained in primary-key list)?
Hello,
when i add a new data-row, in some times i have to enter a foreign-key-id. How can i check, that this entered value is valid (= is known in the linked table with the primary key)?
Can i check it with the core validation rules? The...
1 answer
0 votes
dropdown field (menu) for foreign-key values?!?
Hello,
in my add-view:
<h2><b>add a mac address</b></h2>
<br>
<?php
echo $form->create('MacAddress');
echo $form->input('hardware_unit_id');
echo $form->input('description');
echo $form->end('save mac address');
?>
the field...
1 answer
0 votes
Is there function that tells if field name is a FK or not?
When passing string "*_id" says true, and otherwise false (based on convention)
I know how to do this by myself, bu I wonder if there's any core function to do that?
0 answers
0 votes
Composite key
Dear,
Someone must have encountered a situation where a table had
with composite key.
what did you do? Since CakePHP recognizes only one field to
primaryKey!
In my opinion I see two possibilities:
1 - not create tables with composite keys. When you...
1 answer
0 votes
Composite key
Dear,
Someone must have encountered a situation where a table had
with composite key.
what did you do? Since CakePHP recognizes only one field to
primaryKey!
In my opinion I see two possibilities:
1 - not create tables with composite keys. When you...
1 answer
0 votes
CakePHP and a NoSQL style db
Hi,
We are looking to build a project which needs to be scalable and with fast read writes to the db. We are looking at using the NoSQL style of database design, mainly storing the data in key value pairs in a regular MySQL database.
With regard to...