This commit is contained in:
Dennis Eichhorn 2015-11-29 21:57:18 +01:00
commit 2f7f1946f2
5 changed files with 181 additions and 0 deletions

43
Admin/Installer.php Normal file
View File

@ -0,0 +1,43 @@
<?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\Contact\Admin;
use phpOMS\DataStorage\Database\DatabaseType;
use phpOMS\DataStorage\Database\Pool;
use phpOMS\Module\InstallerAbstract;
/**
* Accounts payable install class.
*
* @category Modules
* @package Modules\AccountsPayable
* @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);
}
}

80
Controller.php Normal file
View File

@ -0,0 +1,80 @@
<?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\Contact;
use phpOMS\Message\RequestDestination;
use phpOMS\Module\ModuleAbstract;
use phpOMS\Module\WebInterface;
/**
* Sales class.
*
* @category Modules
* @package Modules\Accountsreceivable
* @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 = 'Contact';
/**
* Localization files.
*
* @var \string
* @since 1.0.0
*/
protected static $localization = [
RequestDestination::BACKEND => ['backend'],
];
/**
* Routing elements.
*
* @var array
* @since 1.0.0
*/
protected static $routes = [
];
/**
* Providing.
*
* @var \string
* @since 1.0.0
*/
protected static $providing = [
];
/**
* Dependencies.
*
* @var \string
* @since 1.0.0
*/
protected static $dependencies = [
];
}

0
README.md Normal file
View File

View File

@ -0,0 +1,33 @@
<?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['Contact'] = [
'Addresses' => 'Addresses',
'Address' => 'Address',
'City' => 'City',
'Contact' => 'Contact',
'Contacts' => 'Contacts',
'Country' => 'Country',
'Email' => 'Email',
'FAO' => 'FAO',
'Fax' => 'Fax',
'Name' => 'Name',
'Office' => 'Office',
'Phone' => 'Phone',
'Private' => 'Private',
'Province' => 'Province',
'State' => 'State',
'Zip' => 'Zip',
];

25
info.json Normal file
View File

@ -0,0 +1,25 @@
{
"name": {
"id": 1003800000,
"internal": "Contact",
"external": "OMS Contact"
},
"version": "1.0.0",
"requirements": {
"phpOMS": "1.0.0",
"phpOMS-db": "1.0.0"
},
"creator": {
"name": "Orange Management",
"website": "www.spl1nes.com"
},
"description": "Contact module.",
"directory": "Contact",
"dependencies": {
"PaymentInformation": "*"
},
"providing": {
},
"load": [
]
}