Control();
ob_start();
?>
CanAutoFocus() ) {
?>
Control();
ob_start();
?>
CanAutoZoom() ) {
?>
Control();
ob_start();
?>
CanAutoIris() ) {
?>
Control();
ob_start();
?>
CanAutoWhite() ) {
?>
Control();
ob_start();
?>
CanPan();
$hasTilt = $control->CanTilt();
$hasDiag = $hasPan && $hasTilt && $control->CanMoveDiag();
?>
Control();
// MAX_PRESETS IS PER LINE
define('MAX_PRESETS', '12');
$sql = 'SELECT * FROM ControlPresets WHERE MonitorId = ?';
$labels = array();
foreach ( dbFetchAll($sql, NULL, array($monitor->Id())) as $row ) {
$labels[$row['Preset']] = $row['Label'];
}
$presetBreak = (int)(($control->NumPresets()+1)/((int)(($control->NumPresets()-1)/MAX_PRESETS)+1));
ob_start();
?>
NumPresets(); $i++ ) {
?>
HasHomePreset() ) {
?>
CanSetPresets() ) {
?>
Control();
ob_start();
?>
CanWake() ) {
?>
CanSleep() ) {
?>
CanReset() ) {
?>
CanReboot() ) {
?>
Control();
$cmds = $control->commands();
ob_start();
?>
CanFocus() )
echo controlFocus($monitor, $cmds);
if ( $control->CanZoom() )
echo controlZoom($monitor, $cmds);
if ( $control->CanIris() )
echo controlIris($monitor, $cmds);
if ( $control->CanWhite() )
echo controlWhite($monitor, $cmds);
if ( $control->CanMove() ) {
?>
CanWake() || $control->CanSleep() || $control->CanReset() )
echo controlPower($monitor, $cmds);
if ( $control->HasPresets() )
echo controlPresets($monitor, $cmds);
?>