php - CakePHP displayField usage -
Can you please tell me how to use the KHHP's Displayfield Directive?
Therefore, in a model file, I have the code:
;' ',' fields' => "',' order '= & gt;" ... ... projectName in the Select how can I use it?
Then, you have the Tasks included project (FK: Prose T_ID). You want to create a project selection box in Tasks / Addition and Task / Editable views.
The problem is that the project table 'If a name or then the selection box is empty. If there was a name or a title field, right?
OK, Here's the solution, add it to the project model:
var $ displayField = 'projectName';
In the right direction Were just model had a little glitch. I hope you understand it now;]
Comments
Post a Comment