repo.or.cz
/
akelos.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixing content type ordering when content_type is not defined.
[akelos.git]
/
test
/
fixtures
/
app
/
models
/
property.php
blob
4815818ad9ac3a6141835299cbd1b9bf4c2d5b57
1
<
?php
2
3
class
Property
extends
ActiveRecord
4
{
5
var
$hasMany
=
array
(
6
'pictures'
=>
array
(
'dependent'
=>
'destroy'
),
7
'panoramas'
);
8
var
$hasAndBelongsToMany
=
array
(
'property_types'
=>
array
(
'unique'
=>
true
));
// Unique still needs to be implemented
9
}
10
11
?
>