khanat-opennel-code/code/ryzom/tools/server/www/webtt/app/models/imported_translation_file.php
kerozcak 4d7293d0f5 Changed: #1315 Adding work i have done so far.
--HG--
branch : gsoc2011-kerozcak
2011-06-09 18:23:29 +02:00

46 lines
996 B
PHP

<?php
class ImportedTranslationFile extends AppModel {
var $name = 'ImportedTranslationFile';
var $displayField = 'filename';
//The Associations below have been created with all possible keys, those that are not needed can be removed
var $actsAs = array('Containable');
var $belongsTo = array(
'Language' => array(
'className' => 'Language',
'foreignKey' => 'language_id',
'conditions' => '',
'fields' => '',
'order' => ''
)
);
var $hasMany = array(
'FileIdentifier' => array(
'className' => 'FileIdentifier',
'foreignKey' => 'imported_translation_file_id',
'dependent' => true,
'conditions' => '',
'fields' => '',
'order' => '',
'limit' => '',
'offset' => '',
'exclusive' => '',
'finderQuery' => '',
'counterQuery' => ''
)
);
var $hasOne = array(
'RawFile' => array(
'className' => 'RawFile',
'foreignKey' => 'filename',
'dependand' => false,
'conditions' => '',
'fields' => '',
'order' => '',
),
);
}