sancus%off.net 73904091fe initial import of models and other app files
git-svn-id: svn://10.0.0.236/trunk@207393 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 23:54:58 +00:00

26 lines
911 B
PHP

<?php
class Review extends AppModel
{
var $name = 'Review';
var $belongsTo = array('Version' =>
array('className' => 'Version',
'conditions' => '',
'order' => '',
'foreignKey' => 'version_id'
)
);
var $hasMany = array('ReviewRating' =>
array('className' => 'ReviewRating',
'conditions' => '',
'order' => '',
'limit' => '',
'foreignKey' => 'review_id',
'dependent' => true,
'exclusive' => false,
'finderSql' => ''
)
);
}
?>