zoneminder/web/app/Model/Monitor.php

12 lines
197 B
PHP
Raw Normal View History

2013-05-02 06:41:59 +08:00
<?php
class Monitor extends AppModel {
public $useTable = 'Monitors';
public $hasMany = array(
'Event' => array(
'className' => 'Event',
'foreignKey' => 'MonitorId'
)
);
2013-05-02 06:41:59 +08:00
}
?>