本文整理汇总了PHP中Monitor::Name方法的典型用法代码示例。如果您正苦于以下问题:PHP Monitor::Name方法的具体用法?PHP Monitor::Name怎么用?PHP Monitor::Name使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Monitor
的用法示例。
在下文中一共展示了Monitor::Name方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: translate
}
$connkey = generateConnKey();
if (ZM_WEB_STREAM_METHOD == 'mpeg' && ZM_MPEG_LIVE_FORMAT) {
$streamMode = "mpeg";
$streamSrc = $monitor->getStreamSrc(array("mode=" . $streamMode, "scale=" . $scale, "bitrate=" . ZM_WEB_VIDEO_BITRATE, "maxfps=" . ZM_WEB_VIDEO_MAXFPS, "format=" . ZM_MPEG_LIVE_FORMAT));
} elseif (canStream()) {
$streamMode = "jpeg";
$streamSrc = $monitor->getStreamSrc(array("mode=" . $streamMode, "scale=" . $scale, "maxfps=" . ZM_WEB_VIDEO_MAXFPS, "buffer=" . $monitor->StreamReplayBuffer()));
} else {
$streamMode = "single";
$streamSrc = $monitor->getStreamSrc(array("mode=" . $streamMode, "scale=" . $scale));
Info("The system has fallen back to single jpeg mode for streaming. Consider enabling Cambozola or upgrading the client browser.");
}
$showDvrControls = $streamMode == 'jpeg' && $monitor->StreamReplayBuffer() != 0;
noCacheHeaders();
xhtmlHeaders(__FILE__, $monitor->Name() . " - " . translate('Feed'));
?>
<body>
<div id="page">
<div id="content">
<div id="menuBar">
<div id="monitorName"><?php
echo $monitor->Name();
?>
</div>
<div id="closeControl"><a href="#" onclick="closeWindow(); return( false );"><?php
echo translate('Close');
?>
</a></div>
<div id="menuControls">
<?php
示例2: translate
ksort($newZone['Points'], SORT_NUMERIC);
$newZone['Coords'] = pointsToCoords($newZone['Points']);
$newZone['Area'] = getPolyArea($newZone['Points']);
$selfIntersecting = isSelfIntersecting($newZone['Points']);
$focusWindow = true;
$connkey = generateConnKey();
xhtmlHeaders(__FILE__, translate('Zone'));
?>
<body>
<div id="page">
<div id="header">
<h2><?php
echo translate('Monitor');
?>
<?php
echo $monitor->Name();
?>
- <?php
echo translate('Zone');
?>
<?php
echo $newZone['Name'];
?>
</h2>
</div>
<div id="content">
<form name="zoneForm" id="zoneForm" method="post" action="<?php
echo $_SERVER['PHP_SELF'];
?>
">
<input type="hidden" name="view" value="<?php