This commit is contained in:
Dennis Eichhorn 2015-11-29 21:57:18 +01:00
commit 2336a91742
26 changed files with 1056 additions and 0 deletions

View File

@ -0,0 +1,38 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
namespace Modules\Calendar\Admin\Install;
/**
* Navigation class.
*
* @category Modules
* @package Modules\Admin
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @license OMS License 1.0
* @link http://orange-management.com
* @since 1.0.0
*/
class Navigation
{
public static function install($dbPool)
{
$navData = json_decode(file_get_contents(__DIR__ . '/nav.install.json'), true);
$class = '\\Modules\\Navigation\\Admin\\Installer';
$class::installExternal($dbPool, $navData);
}
}

View File

@ -0,0 +1,17 @@
[
{
"id": 1000901001,
"pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
"type": 2,
"subtype": 1,
"name": "Calendar",
"uri": "/{/lang}/backend/calendar/dashboard",
"target": "self",
"icon": null,
"order": 30,
"from": "Calendar",
"permission": null,
"parent": 1000201001,
"children": []
}
]

132
Admin/Installer.php Normal file
View File

@ -0,0 +1,132 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
namespace Modules\Calendar\Admin;
use phpOMS\DataStorage\Database\DatabaseType;
use phpOMS\DataStorage\Database\Pool;
use phpOMS\Module\InstallerAbstract;
/**
* Calendar install class.
*
* @category Modules
* @package Modules\Calendar
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @license OMS License 1.0
* @link http://orange-management.com
* @since 1.0.0
*/
class Installer extends InstallerAbstract
{
/**
* {@inheritdoc}
*/
public static function install(Pool $dbPool, array $info)
{
parent::install($dbPool, $info);
switch ($dbPool->get('core')->getType()) {
case DatabaseType::MYSQL:
$dbPool->get('core')->con->prepare(
'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'calendar` (
`calendar_id` int(11) NOT NULL AUTO_INCREMENT,
`calendar_name` varchar(25) NOT NULL,
`calendar_password` varchar(64) NOT NULL,
`calendar_description` varchar(255) NOT NULL,
`calendar_creator` int(11) NOT NULL,
`calendar_created` datetime NOT NULL,
PRIMARY KEY (`calendar_id`),
KEY `calendar_creator` (`calendar_creator`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;'
)->execute();
$dbPool->get('core')->con->prepare(
'ALTER TABLE `' . $dbPool->get('core')->prefix . 'calendar`
ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'calendar_ibfk_1` FOREIGN KEY (`calendar_creator`) REFERENCES `' . $dbPool->get('core')->prefix . 'account` (`account_id`);'
)->execute();
$dbPool->get('core')->con->prepare(
'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'calendar_permission` (
`calendar_permission_id` int(11) NOT NULL AUTO_INCREMENT,
`calendar_permission_type` tinyint(1) NOT NULL,
`calendar_permission_ref` int(11) NOT NULL,
`calendar_permission_calendar` int(11) NOT NULL,
`calendar_permission_permission` tinyint(2) NOT NULL,
PRIMARY KEY (`calendar_permission_id`),
KEY `calendar_permission_calendar` (`calendar_permission_calendar`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;'
)->execute();
$dbPool->get('core')->con->prepare(
'ALTER TABLE `' . $dbPool->get('core')->prefix . 'calendar_permission`
ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'calendar_permission_ibfk_2` FOREIGN KEY (`calendar_permission_calendar`) REFERENCES `' . $dbPool->get('core')->prefix . 'calendar` (`calendar_id`);'
)->execute();
$dbPool->get('core')->con->prepare(
'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'calendar_event` (
`calendar_event_id` int(11) NOT NULL AUTO_INCREMENT,
`calendar_event_name` varchar(25) NOT NULL,
`calendar_event_description` varchar(255) NOT NULL,
`calendar_event_start` datetime NOT NULL,
`calendar_event_end` datetime NOT NULL,
`calendar_event_status` tinyint(1) NOT NULL,
`calendar_event_repeat` tinyint(1) NOT NULL,
`calendar_event_rep_interval` tinyint(3) NOT NULL,
`calendar_event_rep_monday` tinyint(1) NOT NULL,
`calendar_event_rep_tuesday` tinyint(1) NOT NULL,
`calendar_event_rep_wednesday` tinyint(1) NOT NULL,
`calendar_event_rep_thursday` tinyint(1) NOT NULL,
`calendar_event_rep_friday` tinyint(1) NOT NULL,
`calendar_event_rep_saturday` tinyint(1) NOT NULL,
`calendar_event_rep_sunday` tinyint(1) NOT NULL,
`calendar_event_creator` int(11) NOT NULL,
`calendar_event_created` datetime NOT NULL,
`calendar_event_calendar` int(11) NOT NULL,
PRIMARY KEY (`calendar_event_id`),
KEY `calendar_event_creator` (`calendar_event_creator`),
KEY `calendar_event_calendar` (`calendar_event_calendar`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;'
)->execute();
$dbPool->get('core')->con->prepare(
'ALTER TABLE `' . $dbPool->get('core')->prefix . 'calendar_event`
ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'calendar_event_ibfk_1` FOREIGN KEY (`calendar_event_creator`) REFERENCES `' . $dbPool->get('core')->prefix . 'account` (`account_id`),
ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'calendar_event_ibfk_2` FOREIGN KEY (`calendar_event_calendar`) REFERENCES `' . $dbPool->get('core')->prefix . 'calendar` (`calendar_id`);'
)->execute();
$dbPool->get('core')->con->prepare(
'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'calendar_event_participant` (
`calendar_event_participant_id` int(11) NOT NULL AUTO_INCREMENT,
`calendar_event_participant_event` int(11) NOT NULL,
`calendar_event_participant_person` int(11) NOT NULL,
`calendar_event_participant_status` tinyint(1) NOT NULL,
PRIMARY KEY (`calendar_event_participant_id`),
KEY `calendar_event_participant_event` (`calendar_event_participant_event`),
KEY `calendar_event_participant_person` (`calendar_event_participant_person`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;'
)->execute();
$dbPool->get('core')->con->prepare(
'ALTER TABLE `' . $dbPool->get('core')->prefix . 'calendar_event_participant`
ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'calendar_event_participant_ibfk_1` FOREIGN KEY (`calendar_event_participant_event`) REFERENCES `' . $dbPool->get('core')->prefix . 'calendar_event` (`calendar_event_id`),
ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'calendar_event_participant_ibfk_2` FOREIGN KEY (`calendar_event_participant_person`) REFERENCES `' . $dbPool->get('core')->prefix . 'account` (`account_id`);'
)->execute();
break;
}
}
}

129
Controller.php Normal file
View File

@ -0,0 +1,129 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
namespace Modules\Calendar;
use Modules\Navigation\Models\Navigation;
use Modules\Navigation\Views\NavigationView;
use phpOMS\Contract\RenderableInterface;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\RequestDestination;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Module\ModuleAbstract;
use phpOMS\Module\WebInterface;
use phpOMS\Views\View;
use phpOMS\Views\ViewLayout;
/**
* Calendar controller class.
*
* @category Modules
* @package Modules\Calendar
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @license OMS License 1.0
* @link http://orange-management.com
* @since 1.0.0
*/
class Controller extends ModuleAbstract implements WebInterface
{
/**
* Module name.
*
* @var \string
* @since 1.0.0
*/
protected static $module = 'Calendar';
/**
* Localization files.
*
* @var \string
* @since 1.0.0
*/
protected static $localization = [
RequestDestination::BACKEND => ['backend'],
];
/**
* Providing.
*
* @var \string
* @since 1.0.0
*/
protected static $providing = [
'Content',
];
/**
* Dependencies.
*
* @var \string
* @since 1.0.0
*/
protected static $dependencies = [];
/**
* Routing elements.
*
* @var array
* @since 1.0.0
*/
protected static $routes = [
'^.*/backend/calendar/dashboard.*$' => [['dest' => '\Modules\Calendar\Controller:viewCalendarDashboard', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
];
/**
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public function viewCalendarDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
{
$view = new View($this->app, $request, $response);
$view->setTemplate('/Modules/Calendar/Theme/backend/calendar-dashboard');
$view->addData('nav', $this->createNavigation(1001201001, $request, $response));
return $view;
}
/**
* @param int $pageId Page/parent Id for navigation
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
*
* @return RenderableInterface
*
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
private function createNavigation(\int $pageId, RequestAbstract $request, ResponseAbstract $response)
{
$nav = Navigation::getInstance($request, $this->app->dbPool);
$navView = new NavigationView($this->app, $request, $response);
$navView->setTemplate('/Modules/Navigation/Theme/backend/mid');
$navView->setNav($nav->getNav());
$navView->setLanguage($request->getL11n()->language);
$navView->setParent($pageId);
return $navView;
}
}

36
Models/AcceptStatus.php Normal file
View File

@ -0,0 +1,36 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
namespace Modules\Calendar\Models;
use phpOMS\Datatypes\Enum;
/**
* Accept status enum.
*
* @category Calendar
* @package Modules
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @license OMS License 1.0
* @link http://orange-management.com
* @since 1.0.0
*/
abstract class AcceptStatus extends Enum
{
const ACCEPTED = 0;
const DENIED = 1;
}

View File

@ -0,0 +1,38 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
namespace Modules\Calendar\Models;
use phpOMS\Datatypes\Enum;
/**
* Available status enum.
*
* @category Calendar
* @package Modules
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @license OMS License 1.0
* @link http://orange-management.com
* @since 1.0.0
*/
abstract class AvailableStatus extends Enum
{
const AVAILABLE = 0;
const BUSY = 1;
const AWAY = 2;
}

203
Models/Calendar.php Normal file
View File

@ -0,0 +1,203 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
namespace Modules\Calendar\Models;
use phpOMS\Pattern\Multition;
/**
* Calendar class.
*
* @category Calendar
* @package Framework
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @license OMS License 1.0
* @link http://orange-management.com
* @since 1.0.0
*/
class Calendar implements Multition
{
/**
* Calendar ID.
*
* @var \int
* @since 1.0.0
*/
private $id = null;
/**
* Name.
*
* @var \string
* @since 1.0.0
*/
private $name = '';
/**
* Description.
*
* @var \string
* @since 1.0.0
*/
private $description = '';
/**
* Created.
*
* @var \Datetime
* @since 1.0.0
*/
private $created = null;
/**
* Creator.
*
* @var \int
* @since 1.0.0
*/
private $creator = null;
/**
* Events.
*
* @var \Modules\Calendar\Models\Event[]
* @since 1.0.0
*/
private $events = [];
private static $instances = [];
public function __construct($id)
{
}
public function getInstance($id)
{
if (!isset(self::$instances[$id])) {
self::$instances[$id] = new self($id);
}
return self::$instances[$id];
}
/**
* {@inheritdoc}
*/
public function init($id)
{
}
/**
* {@inheritdoc}
*/
public function __clone()
{
}
public function getId()
{
return $this->id;
}
public function getName()
{
return $this->name;
}
public function setName($name)
{
$this->name = $name;
}
public function getDescription()
{
return $this->description;
}
public function setDescription($desc)
{
$this->description = $desc;
}
public function getEvents()
{
return $this->events;
}
public function removeEvent()
{
}
public function getEvent($id)
{
}
public function getCreated()
{
return $this->created;
}
public function setCreated($created)
{
$this->created = $created;
}
public function getCreator()
{
return $this->creator;
}
public function setCreator($creator)
{
$this->creator = $creator;
}
/**
* {@inheritdoc}
*/
public function delete()
{
}
/**
* {@inheritdoc}
*/
public function create()
{
}
/**
* {@inheritdoc}
*/
public function update()
{
}
/**
* {@inheritdoc}
*/
public function serialize()
{
}
/**
* {@inheritdoc}
*/
public function unserialize($data)
{
}
}

230
Models/Event.php Normal file
View File

@ -0,0 +1,230 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
namespace Modules\Calendar\Models;
use phpOMS\Pattern\Multition;
/**
* Calendar class.
*
* @category Calendar
* @package Framework
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @license OMS License 1.0
* @link http://orange-management.com
* @since 1.0.0
*/
class Event implements Multition
{
/**
* Calendar ID.
*
* @var \int
* @since 1.0.0
*/
private $id = null;
/**
* Name.
*
* @var \string
* @since 1.0.0
*/
private $name = '';
/**
* Description.
*
* @var \string
* @since 1.0.0
*/
private $description = '';
/**
* Created.
*
* @var \Datetime
* @since 1.0.0
*/
private $created = null;
/**
* Creator.
*
* @var \int
* @since 1.0.0
*/
private $creator = null;
/**
* People.
*
* @var array
* @since 1.0.0
*/
private $location = null;
/**
* People.
*
* @var array
* @since 1.0.0
*/
private $people = [];
/**
* Start.
*
* @var \Datetime
* @since 1.0.0
*/
private $start = null;
/**
* Start.
*
* @var \Datetime
* @since 1.0.0
*/
private $end = null;
/**
* Timezone.
*
* @var \Datetime
* @since 1.0.0
*/
private $timezone = null;
/**
* Occurence.
*
* @var \Modules\Calendar\Models\OccurrenceType
* @since 1.0.0
*/
private $occurence = null;
private static $instances = [];
public function __construct($id)
{
}
public function getInstance($id)
{
if (!isset(self::$instances[$id])) {
self::$instances[$id] = new self($id);
}
return self::$instances[$id];
}
/**
* {@inheritdoc}
*/
public function init($id)
{
}
/**
* {@inheritdoc}
*/
public function __clone()
{
}
public function getId()
{
return $this->id;
}
public function getName()
{
return $this->name;
}
public function setName($name)
{
$this->name = $name;
}
public function getDescription()
{
return $this->description;
}
public function setDescription($desc)
{
$this->description = $desc;
}
public function getCreated()
{
return $this->created;
}
public function setCreated($created)
{
$this->created = $created;
}
public function getCreator()
{
return $this->creator;
}
public function setCreator($creator)
{
$this->creator = $creator;
}
/**
* {@inheritdoc}
*/
public function delete()
{
}
/**
* {@inheritdoc}
*/
public function create()
{
}
/**
* {@inheritdoc}
*/
public function update()
{
}
/**
* {@inheritdoc}
*/
public function serialize()
{
}
/**
* {@inheritdoc}
*/
public function unserialize($data)
{
}
}

44
Models/OccurrenceType.php Normal file
View File

@ -0,0 +1,44 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
namespace Modules\Calendar\Models;
use phpOMS\Datatypes\Enum;
/**
* Occurrence type enum.
*
* @category OccurrenceType
* @package Framework
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @license OMS License 1.0
* @link http://orange-management.com
* @since 1.0.0
*/
abstract class OccurrenceType extends Enum
{
const SINGLE = 0;
const DAILY = 1;
const WEEKLY = 2;
const MONTHLY = 3;
const QUARTERLY = 4;
const YEARLY = 5;
}

1
README.md Normal file
View File

@ -0,0 +1 @@
# Calendar #

View File

View File

@ -0,0 +1,54 @@
<section class="wf-75 floatLeft">
<section class="box w-100">
<ul class="btns floatLeft">
<li><a href=""><i class="fa fa-arrow-left"></i></a>
<li><a href=""><i class="fa fa-arrow-right"></i></a>
</ul>
<ul class="btns floatRight">
<li><a href=""><?= $this->l11n->lang['Calendar']['Day'] ?></a>
<li><a href=""><?= $this->l11n->lang['Calendar']['Week'] ?></a>
<li><a href=""><?= $this->l11n->lang['Calendar']['Month'] ?></a>
<li><a href=""><?= $this->l11n->lang['Calendar']['Year'] ?></a>
</ul>
</section>
<section class="box w-100">
<div class="m-calendar-month">
<?php for($i = 0; $i < 6; $i++) : ?>
<div class="wf-100">
<?php for($j = 0; $j < 7; $j++) : ?><div style="display: inline-block; box-sizing: border-box; width: 14.28%; height: 100px; border: 1px solid #000; margin: 0; padding: 3px;"><?= $this->l11n->lang[0][jddayofweek($j, 1)]; ?></div><?php endfor; ?>
</div>
<?php endfor;?>
</div>
</section>
</section>
<section class="wf-25 floatLeft">
<section class="box w-100">
<h1>Title</h1>
<div class="inner">
<form>
<table class="layout wf-100">
<tr>
<td><label>Layout</label>
<tr>
<td><select>
<option>
</select>
</table>
</form>
</div>
</section>
<section class="box w-100">
<h1>Calendars</h1>
<div class="inner">
<ul class="boxed">
<li><i class="fa fa-times warning"></i> <span class="check"><input type="checkbox" id="iDefault" checked><label for="iDefault">Default</label></span>
</ul>
<div class="spacer"></div>
<button><i class="fa fa-calendar-plus-o"></i> <?= $this->l11n->lang[0]['Add'] ?></button> <button><i class="fa fa-calendar-check-o"></i> <?= $this->l11n->lang[0]['Create'] ?></button>
</div>
</section>
</section>

View File

View File

@ -0,0 +1,17 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
$MODLANG[1] = [
];

View File

@ -0,0 +1,27 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
$MODLANG['Calendar'] = [
'Blocks' => 'Blocks',
'Day' => 'Day',
'Interval' => 'Interval',
'Layout' => 'Layout',
'List' => 'List',
'Month' => 'Month',
'Settings' => 'Settings',
'Timeline' => 'Timeline',
'Week' => 'Week',
'Year' => 'Year',
];

View File

@ -0,0 +1,18 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
$MODLANG['Navigation'] = [
'Calendar' => 'Calendar',
];

BIN
img/module_teaser_small.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

51
info.json Normal file
View File

@ -0,0 +1,51 @@
{
"name": {
"id": 1000900000,
"internal": "Calendar",
"external": "OMS Calendar"
},
"version": "1.0.0",
"requirements": {
"phpOMS": "1.0.0",
"phpOMS-db": "1.0.0"
},
"creator": {
"name": "Orange Management",
"website": "www.spl1nes.com"
},
"description": "Calendar module.",
"directory": "Calendar",
"dependencies": {},
"providing": {
"Navigation": "*"
},
"load": [
{
"pid": [
"fb78d7e421e4178d31a384fb394dcf2369fff309"
],
"type": 4,
"for": "Content",
"from": "Calendar",
"file": "Calendar"
},
{
"pid": [
"754a08ddf8bcb1cf22f310f09206dd783d42f7dd"
],
"type": 5,
"from": "Calendar",
"for": "Navigation",
"file": "nav.backend"
},
{
"pid": [
"fb78d7e421e4178d31a384fb394dcf2369fff309"
],
"type": 5,
"for": "Content",
"file": "backend",
"from": "Calendar"
}
]
}

21
js/Calendar.js Normal file
View File

@ -0,0 +1,21 @@
(function (omsModule, undefined) {
omsModule.Calendar = function () {
this.layout = omsModule.Calendar.layout.BLOCKS;
this.interval = null;
this.selectedElement = null;
this.subCalendars = [];
};
omsModule.Calendar.prototype.render = function () {
};
omsModule.Calendar.prototype.renderBlocks = function () {
};
omsModule.Calendar.prototype.renderList = function () {
};
omsModule.Calendar.prototype.renderTimeline = function () {
};
}(window.omsModule = window.omsModule || {}));

0
js/CalendarPreview.js Normal file
View File

0
js/CalendarSub.js Normal file
View File

0
js/Controller.js Normal file
View File

0
js/IntervalEnum.js Normal file
View File

0
js/LayoutEnum.js Normal file
View File