Skip to content
Snippets Groups Projects
Commit 5493ddc3 authored by philipp's avatar philipp
Browse files

widgetinterface umbenannt, .js hinzugefuegt

parent 9f733d90
No related branches found
No related tags found
No related merge requests found
<?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