Skip to content
Snippets Groups Projects
Commit abf8d8a5 authored by ands's avatar ands
Browse files

Merge branch 'master' of /media/TBmyBook/marvin

parents 3c85d773 de1ab541
No related branches found
No related tags found
No related merge requests found
<head>
<link rel="stylesheet" type="text/css" href="css/widget.css" />
<script src="/js/jquery-1.4.4.js" type="text/javascript"></script>
</head>
<body>
<?php
......
This diff is collapsed.
This diff is collapsed.
<?php
require_once 'widgets/widgetInterface.php';
require_once 'widgets/iWidget.php';
class ZoneOffen implements widgetInterface
class ZoneOffen implements iWidget
{
public function __construct($width, $height)
{
}
public function giveOutput()
{
$widgetOutput = "Test";
$widgetOutput = "Test\n";
$widgetOutput .= '<script src="/widgets/ZoneOffen/ZoneOffen.js" type="text/javascript"></script>'."\n";
return $widgetOutput;
}
}
......
<?php
interface iWidget
{
public function __construct($width, $height);
public function giveOutput();
}
?>
<?php
interface widget
{
public function giveOutput();
}
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment