Questions tagged with create

1 answer

1 vote

Asked by sebb86, on 3/1/10 in

Create relationships in both directions?

Hello,

when i create a relationship between two models, must i create that relationship in both directions, respectively in both models (model A $hasMany model B ----AND---- model B $belongsTo model A)?

Thanks for help.

Greetings.

1 answer

0 votes

Asked by nerdbeere, on 4/1/10 in

Disable Fieldset around an hidden form element

Hi,

i want to disable the fieldset around the hidden cakephp generated input field.

i reviewed http://book.cakephp.org/view/183/Creating-Forms but it's unlike to my output.


<?php echo $form->create('User', array('action' => 'login', 'class' =>...

1 answer

0 votes

Asked by wiechman, on 19/3/10 in

Record history & creating new records on edit

This may sound inefficent, however...

For example sake, I have a table of names, and in this table I also have a TINYINT field for flagging the record is the current revision (TINYINT field would = 1).

When a name is changed, I want to create a new...

2 answers

0 votes

Asked by phililippe, on 23/3/10 in

Integrate external classes as a model

Hello,

I have a set of classes designed outside CakePHP and I want to use them in an cake application as a quick way to have access to helpers, authentification, data validation... These classes need to be separable from cake. So I'm searching the...

<< previous next >>