khanat-opennel-code/code/ryzom/tools/server/www/webtt/app/models/comment.php
kerozcak ccf80ff9d3 Changed: #1315 Added files forgotten to track.
--HG--
branch : gsoc2011-kerozcak
2011-07-20 12:21:20 +02:00

32 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' => ''
)
);
}