mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-06 23:39:06 +00:00
37 lines
783 B
PHP
37 lines
783 B
PHP
|
<?php
|
||
|
class User extends AppModel {
|
||
|
var $name = 'User';
|
||
|
var $displayField = 'name';
|
||
|
//The Associations below have been created with all possible keys, those that are not needed can be removed
|
||
|
|
||
|
var $hasMany = array(
|
||
|
'Translation' => array(
|
||
|
'className' => 'Translation',
|
||
|
'foreignKey' => 'user_id',
|
||
|
'dependent' => false,
|
||
|
'conditions' => '',
|
||
|
'fields' => '',
|
||
|
'order' => '',
|
||
|
'limit' => '',
|
||
|
'offset' => '',
|
||
|
'exclusive' => '',
|
||
|
'finderQuery' => '',
|
||
|
'counterQuery' => ''
|
||
|
),
|
||
|
'Vote' => array(
|
||
|
'className' => 'Vote',
|
||
|
'foreignKey' => 'user_id',
|
||
|
'dependent' => false,
|
||
|
'conditions' => '',
|
||
|
'fields' => '',
|
||
|
'order' => '',
|
||
|
'limit' => '',
|
||
|
'offset' => '',
|
||
|
'exclusive' => '',
|
||
|
'finderQuery' => '',
|
||
|
'counterQuery' => ''
|
||
|
)
|
||
|
);
|
||
|
|
||
|
}
|