mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-24 08:06:13 +00:00
33 lines
737 B
PHP
33 lines
737 B
PHP
|
<?php
|
||
|
class Comment extends AppModel {
|
||
|
var $name = 'Comment';
|
||
|
var $displayField = 'id';
|
||
|
|
||
|
var $scaffoldActions = array("add" => "fk");
|
||
|
//The Associations below have been created with all possible keys, those that are not needed can be removed
|
||
|
|
||
|
var $belongsTo = array(
|
||
|
/* 'Translation' => array(
|
||
|
'className' => 'Translation',
|
||
|
'foreignKey' => 'translation_id',
|
||
|
'conditions' => '',
|
||
|
'fields' => '',
|
||
|
'order' => ''
|
||
|
),*/
|
||
|
'Identifier' => array(
|
||
|
'className' => 'Identifier',
|
||
|
'foreignKey' => 'identifier_id',
|
||
|
'conditions' => '',
|
||
|
'fields' => '',
|
||
|
'order' => ''
|
||
|
),
|
||
|
'User' => array(
|
||
|
'className' => 'User',
|
||
|
'foreignKey' => 'user_id',
|
||
|
'conditions' => '',
|
||
|
'fields' => '',
|
||
|
'order' => ''
|
||
|
)
|
||
|
);
|
||
|
}
|