mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-02-02 18:41:17 -05:00
16 lines
274 B
PHP
16 lines
274 B
PHP
<?php
|
|
class Monitor extends AppModel {
|
|
public $useTable = 'Monitors';
|
|
public $hasMany = array(
|
|
'Event' => array(
|
|
'className' => 'Event',
|
|
'foreignKey' => 'MonitorId'
|
|
),
|
|
'Zone' => array(
|
|
'className' => 'Zone',
|
|
'foreignKey' => 'MonitorId'
|
|
)
|
|
);
|
|
}
|
|
?>
|