khanat-opennel-code/code/ryzom/tools/server/www/webtt/app/models/imported_translation_file.php

57 lines
1.3 KiB
PHP
Raw Normal View History

<?php
class ImportedTranslationFile extends AppModel {
var $name = 'ImportedTranslationFile';
var $displayField = 'filename';
2011-07-14 14:49:25 +00:00
var $scaffoldForbiddenActions = array("index", "add", "admin_add", "edit", "admin_edit", "delete", "admin_delete");
//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' => ''
2011-07-14 14:49:25 +00:00
),
'TranslationFile' => array(
'className' => 'TranslationFile',
'foreignKey' => 'translation_file_id',
'conditions' => '',
'fields' => '',
'order' => ''
),
);
var $hasMany = array(
'FileIdentifier' => array(
'className' => 'FileIdentifier',
'foreignKey' => 'imported_translation_file_id',
'dependent' => true,
'conditions' => '',
'fields' => '',
2011-07-14 14:49:25 +00:00
'order' => 'FileIdentifier.id',
'limit' => '',
'offset' => '',
'exclusive' => '',
'finderQuery' => '',
'counterQuery' => ''
)
);
var $hasOne = array(
'RawFile' => array(
'className' => 'RawFile',
'foreignKey' => 'filename',
'dependand' => false,
'conditions' => '',
'fields' => '',
'order' => '',
),
);
}