gecko-dev/webtools/bouncer/models/mirror.php
mike.morgan%oregonstate.edu a90838f83e Updates to css for debug dumping (so it doesn't look like ass).
Removed workarounds in models to adapt to update db schema.
Will check in sql once the indexes have been updated (shortly).
2006-06-10 00:23:24 +00:00

15 lines
492 B
PHP

<?php
class Mirror extends AppModel
{
var $name = 'Mirror';
var $hasAndBelongsToMany = array('regions' =>
array( 'className' => 'Region',
'joinTable' => 'mirror_regions',
'foreignKey' => 'mirror_id',
'associationForeignKey' => 'region_id',
'order' => 'regions.name desc',
'uniq' => true )
);
}
?>