mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-01-01 18:57:59 -05:00
86 lines
2.4 KiB
PHP
86 lines
2.4 KiB
PHP
<?php
|
|
|
|
/* *****************************************************************************
|
|
* Copyright (C) 2014 Emmanuel Papin <manupap01@gmail.com>
|
|
*
|
|
* Authors: Emmanuel Papin <manupap01@gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation; either version 2.1 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
|
|
* ****************************************************************************/
|
|
|
|
$pluginOptions = array(
|
|
'MinConfidence' => array(
|
|
'Type' => 'integer',
|
|
'Min' => '0',
|
|
'Max' => '100',
|
|
'Value' => '0',
|
|
'Require' => array(
|
|
array(
|
|
'Name' => 'OnlyTargets',
|
|
'Value' => 'No',
|
|
),
|
|
),
|
|
),
|
|
'MinCharacters' => array(
|
|
'Type' => 'integer',
|
|
'Min' => '1',
|
|
'Max' => '20',
|
|
'Value' => '1',
|
|
'Require' => array(
|
|
array(
|
|
'Name' => 'OnlyTargets',
|
|
'Value' => 'No',
|
|
),
|
|
),
|
|
),
|
|
'MaxCharacters' => array(
|
|
'Type' => 'integer',
|
|
'Min' => '1',
|
|
'Max' => '20',
|
|
'Value' => '20',
|
|
'Require' => array(
|
|
array(
|
|
'Name' => 'StrictTargets',
|
|
'Value' => 'No',
|
|
),
|
|
),
|
|
),
|
|
'TargetList' => array(
|
|
'Type' => 'list',
|
|
),
|
|
'OnlyTargets' => array(
|
|
'Type' => 'select',
|
|
'Choices' => 'Yes,No',
|
|
'Value'=> 'No',
|
|
),
|
|
'StrictTargets' => array(
|
|
'Type' => 'select',
|
|
'Choices' => 'Yes,No',
|
|
'Value'=> 'No',
|
|
),
|
|
'AssumeTargets' => array(
|
|
'Type' => 'select',
|
|
'Choices' => 'Yes,No',
|
|
'Value'=> 'No',
|
|
'Require' => array(
|
|
array(
|
|
'Name' => 'StrictTargets',
|
|
'Value' => 'No',
|
|
),
|
|
),
|
|
),
|
|
);
|
|
?>
|