Projekt

Obecné

Profil

Stáhnout (1.07 KB) Statistiky
| Větev: | Tag: | Revize:
1
<?php
2
class Line extends AppModel {
3

    
4
	var $name = 'Line';
5
	var $useTable = 'line';
6
	var $primaryKey = 'id_line';
7

    
8

    
9
	//The Associations below have been created with all possible keys, those that are not needed can be removed
10
	var $hasAndBelongsToMany = array(
11
			'Name' =>
12
				array('className' => 'Names',
13
						'joinTable' => 'name_line',
14
						'foreignKey' => 'id_line',
15
						'associationForeignKey' => 'id_name',
16
						'conditions' => '',
17
						'fields' => '',
18
						'order' => '',
19
						'limit' => '',
20
						'offset' => '',
21
						'unique' => '',
22
						'finderQuery' => '',
23
						'deleteQuery' => '',
24
						'insertQuery' => ''
25
				),
26

    
27
	);
28

    
29
	var $belongsTo = array(
30
		'Surface' => array(
31
			'className'  => 'Surface',
32
          	'conditions' => '',
33
          	'order'      => '',
34
          	'foreignKey' => 'id_surface'
35
        ),
36
	);
37
	
38
	var $hasMany = array(
39
		'NameLine' => array(
40
			'className'  => 'NameLine',
41
			'exclusive'  => '',
42
			'dependent'  => '',
43
			'foreignKey' => 'id_line',
44
			'conditions' => '',
45
			'order'      => '',
46
			'limit'      => '',
47
			'finderSql'  => ''
48
		),
49
	);
50

    
51
}
52
?>
(6-6/17)