mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-11 09:49:04 +00:00
51 lines
1.2 KiB
PHP
51 lines
1.2 KiB
PHP
<?php
|
|
class Language extends AppModel {
|
|
var $name = 'Language';
|
|
var $displayField = 'name';
|
|
|
|
var $scaffoldForbiddenActions = array("add", "edit", "delete");
|
|
//The Associations below have been created with all possible keys, those that are not needed can be removed
|
|
|
|
var $hasMany = array(
|
|
'TranslationFile' => array(
|
|
'className' => 'TranslationFile',
|
|
'foreignKey' => 'language_id',
|
|
'dependent' => false,
|
|
'conditions' => '',
|
|
'fields' => '',
|
|
'order' => '',
|
|
'limit' => '',
|
|
'offset' => '',
|
|
'exclusive' => '',
|
|
'finderQuery' => '',
|
|
'counterQuery' => ''
|
|
),
|
|
'ImportedTranslationFile' => array(
|
|
'className' => 'ImportedTranslationFile',
|
|
'foreignKey' => 'language_id',
|
|
'dependent' => false,
|
|
'conditions' => '',
|
|
'fields' => '',
|
|
'order' => '',
|
|
'limit' => '',
|
|
'offset' => '',
|
|
'exclusive' => '',
|
|
'finderQuery' => '',
|
|
'counterQuery' => ''
|
|
),
|
|
'Identifier' => array(
|
|
'className' => 'Identifier',
|
|
'foreignKey' => 'language_id',
|
|
'dependent' => false,
|
|
'conditions' => '',
|
|
'fields' => '',
|
|
'order' => '',
|
|
'limit' => '',
|
|
'offset' => '',
|
|
'exclusive' => '',
|
|
'finderQuery' => '',
|
|
'counterQuery' => ''
|
|
),
|
|
);
|
|
|
|
}
|