diff --git a/Admin/Activate.php b/Admin/Activate.php new file mode 100644 index 0000000..e77fa15 --- /dev/null +++ b/Admin/Activate.php @@ -0,0 +1,44 @@ + + * @author Dennis Eichhorn + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +namespace Modules\Profile\Admin; + + +use phpOMS\DataStorage\Database\DatabasePool; +use phpOMS\Module\ActivateAbstract; +use phpOMS\Module\InfoManager; + +/** + * Navigation class. + * + * @category Modules + * @package Modules\Admin + * @author OMS Development Team + * @author Dennis Eichhorn + * @license OMS License 1.0 + * @link http://orange-management.com + * @since 1.0.0 + */ +class Activate extends ActivateAbstract +{ + + /** + * {@inheritdoc} + */ + public static function activate(DatabasePool $dbPool, InfoManager $info) + { + parent::activate($dbPool, $info); + } +} diff --git a/Admin/Deactivate.php b/Admin/Deactivate.php new file mode 100644 index 0000000..029a4f0 --- /dev/null +++ b/Admin/Deactivate.php @@ -0,0 +1,44 @@ + + * @author Dennis Eichhorn + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +namespace Modules\Profile\Admin; + + +use phpOMS\DataStorage\Database\DatabasePool; +use phpOMS\Module\DeactivateAbstract; +use phpOMS\Module\InfoManager; + +/** + * Navigation class. + * + * @category Modules + * @package Modules\Admin + * @author OMS Development Team + * @author Dennis Eichhorn + * @license OMS License 1.0 + * @link http://orange-management.com + * @since 1.0.0 + */ +class Deactivate extends DeactivateAbstract +{ + + /** + * {@inheritdoc} + */ + public static function deactivate(DatabasePool $dbPool, InfoManager $info) + { + parent::deactivate($dbPool, $info); + } +} diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json new file mode 100644 index 0000000..d58c6d8 --- /dev/null +++ b/Admin/Install/Navigation.install.json @@ -0,0 +1,63 @@ +[ + { + "id": 1000301001, + "pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd", + "type": 2, + "subtype": 1, + "name": "Profiles", + "uri": "/{/lang}/backend/profile/list?{?}", + "target": "self", + "icon": null, + "order": 10, + "from": "Profile", + "permission": null, + "parent": 1000201001, + "children": [ + { + "id": 1000302001, + "pid": "722846d6c55f46fd3d372bba7311a150acd1f23c", + "type": 3, + "subtype": 1, + "name": "List", + "uri": "/{/lang}/backend/profile/list?{?}", + "target": "self", + "icon": null, + "order": 1, + "from": "Profile", + "permission": null, + "parent": 1000301001, + "children": [] + }, + { + "id": 1000303001, + "pid": "722846d6c55f46fd3d372bba7311a150acd1f23c", + "type": 5, + "subtype": 1, + "name": "Profile", + "uri": "/{/lang}/backend/profile/single/front?{?}", + "target": "self", + "icon": null, + "order": 3, + "from": "Profile", + "permission": null, + "parent": 1000301001, + "children": [] + }, + { + "id": 1000303002, + "pid": "722846d6c55f46fd3d372bba7311a150acd1f23c", + "type": 5, + "subtype": 1, + "name": "Settings", + "uri": "/{/lang}/backend/profile/single/settings?{?}", + "target": "self", + "icon": null, + "order": 999, + "from": "Profile", + "permission": null, + "parent": 1000301001, + "children": [] + } + ] + } +] diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php new file mode 100644 index 0000000..fbbcb76 --- /dev/null +++ b/Admin/Install/Navigation.php @@ -0,0 +1,40 @@ + + * @author Dennis Eichhorn + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +namespace Modules\Profile\Admin\Install; +use phpOMS\DataStorage\Database\DatabasePool; + +/** + * Navigation class. + * + * @category Modules + * @package Modules\Admin + * @author OMS Development Team + * @author Dennis Eichhorn + * @license OMS License 1.0 + * @link http://orange-management.com + * @since 1.0.0 + */ +class Navigation +{ + public static function install(string $path, DatabasePool $dbPool) + { + $navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true); + + $class = '\\Modules\\Navigation\\Admin\\Installer'; + /** @var $class \Modules\Navigation\Admin\Installer */ + $class::installExternal($dbPool, $navData); + } +} diff --git a/Admin/Installer.php b/Admin/Installer.php new file mode 100644 index 0000000..53900c1 --- /dev/null +++ b/Admin/Installer.php @@ -0,0 +1,134 @@ + + * @author Dennis Eichhorn + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +namespace Modules\Profile\Admin; + +use phpOMS\DataStorage\Database\DatabaseType; +use phpOMS\DataStorage\Database\DatabasePool; +use phpOMS\Module\InfoManager; +use phpOMS\Module\InstallerAbstract; + +/** + * Navigation class. + * + * @category Modules + * @package Framework + * @author OMS Development Team + * @author Dennis Eichhorn + * @license OMS License 1.0 + * @link http://orange-management.com + * @since 1.0.0 + */ +class Installer extends InstallerAbstract +{ + + /** + * {@inheritdoc} + */ + public static function install(string $path, DatabasePool $dbPool, InfoManager $info) + { + parent::install($path, $dbPool, $info); + + switch ($dbPool->get('core')->getType()) { + case DatabaseType::MYSQL: + $dbPool->get('core')->con->prepare( + 'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'profile_account` ( + `profile_account_id` int(11) NOT NULL, + `profile_account_begin` datetime NOT NULL, + `profile_account_image` varchar(255) NOT NULL, + `profile_account_cv` text NOT NULL, + `profile_account_account` int(11) DEFAULT NULL, + PRIMARY KEY (`profile_account_id`), + KEY `profile_account_account` (`profile_account_account`) + )ENGINE=InnoDB DEFAULT CHARSET=utf8;' + )->execute(); + + $dbPool->get('core')->con->prepare( + 'ALTER TABLE `' . $dbPool->get('core')->prefix . 'profile_account` + ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'profile_account_ibfk_1` FOREIGN KEY (`profile_account_account`) REFERENCES `' . $dbPool->get('core')->prefix . 'account` (`account_id`);' + )->execute(); + + $dbPool->get('core')->con->prepare( + 'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'profile_phone` ( + `profile_phone_id` int(11) NOT NULL, + `profile_phone_type` tinyint(2) NOT NULL, + `profile_phone_number` varchar(50) NOT NULL, + `profile_phone_account` int(11) NOT NULL, + PRIMARY KEY (`profile_phone_id`), + KEY `profile_phone_account` (`profile_phone_account`) + )ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;' + )->execute(); + + $dbPool->get('core')->con->prepare( + 'ALTER TABLE `' . $dbPool->get('core')->prefix . 'profile_phone` + ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'profile_phone_ibfk_1` FOREIGN KEY (`profile_phone_account`) REFERENCES `' . $dbPool->get('core')->prefix . 'account` (`account_id`);' + )->execute(); + + $dbPool->get('core')->con->prepare( + 'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'profile_address` ( + `profile_address_id` int(11) NOT NULL, + `profile_address_type` tinyint(2) NOT NULL, + `profile_address_address` varchar(50) NOT NULL, + `profile_address_street` varchar(50) NOT NULL, + `profile_address_city` varchar(50) NOT NULL, + `profile_address_zip` varchar(50) NOT NULL, + `profile_address_country` varchar(50) NOT NULL, + `profile_address_account` int(11) DEFAULT NULL, + PRIMARY KEY (`profile_address_id`), + KEY `profile_address_account` (`profile_address_account`) + )ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;' + )->execute(); + + $dbPool->get('core')->con->prepare( + 'ALTER TABLE `' . $dbPool->get('core')->prefix . 'profile_address` + ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'profile_address_ibfk_1` FOREIGN KEY (`profile_address_account`) REFERENCES `' . $dbPool->get('core')->prefix . 'account` (`account_id`);' + )->execute(); + + $dbPool->get('core')->con->prepare( + 'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'profile_account_relation` ( + `profile_account_relation_id` int(11) NOT NULL, + `profile_account_relation_type` tinyint(2) NOT NULL, + `profile_account_relation_relation` int(11) DEFAULT NULL, + `profile_account_relation_account` int(11) DEFAULT NULL, + PRIMARY KEY (`profile_account_relation_id`), + KEY `profile_account_relation_account` (`profile_account_relation_account`) + )ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;' + )->execute(); + + $dbPool->get('core')->con->prepare( + 'ALTER TABLE `' . $dbPool->get('core')->prefix . 'profile_account_relation` + ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'profile_account_relation_ibfk_1` FOREIGN KEY (`profile_account_relation_account`) REFERENCES `' . $dbPool->get('core')->prefix . 'account` (`account_id`);' + )->execute(); + + $dbPool->get('core')->con->prepare( + 'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'profile_account_setting` ( + `profile_account_setting_id` int(11) NOT NULL, + `profile_account_setting_module` int(11) NOT NULL, + `profile_account_setting_type` varchar(20) NOT NULL, + `profile_account_setting_value` varchar(32) DEFAULT NULL, + `profile_account_setting_account` int(11) DEFAULT NULL, + PRIMARY KEY (`profile_account_setting_id`), + KEY `profile_account_setting_account` (`profile_account_setting_account`) + )ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;' + )->execute(); + + $dbPool->get('core')->con->prepare( + 'ALTER TABLE `' . $dbPool->get('core')->prefix . 'profile_account_setting` + ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'profile_account_setting_ibfk_1` FOREIGN KEY (`profile_account_setting_account`) REFERENCES `' . $dbPool->get('core')->prefix . 'account` (`account_id`);' + )->execute(); + break; + } + } +} diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php new file mode 100644 index 0000000..e836bc8 --- /dev/null +++ b/Admin/Routes/Web/Backend.php @@ -0,0 +1,18 @@ + [ + [ + 'dest' => '\Modules\Profile\Controller:viewProfileList', + 'verb' => RouteVerb::GET, + ], + ], + '^.*/backend/profile/single.*$' => [ + [ + 'dest' => '\Modules\Profile\Controller:viewProfileSingle', + 'verb' => RouteVerb::GET, + ], + ], +]; diff --git a/Admin/Routes/console.php b/Admin/Routes/console.php new file mode 100644 index 0000000..1ecbfac --- /dev/null +++ b/Admin/Routes/console.php @@ -0,0 +1,3 @@ + + * @author Dennis Eichhorn + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +namespace Modules\Profile\Admin; + + +use phpOMS\DataStorage\Database\DatabasePool; +use phpOMS\DataStorage\Database\Schema\Builder; +use phpOMS\Module\UninstallAbstract; + +/** + * Navigation class. + * + * @category Modules + * @package Modules\Admin + * @author OMS Development Team + * @author Dennis Eichhorn + * @license OMS License 1.0 + * @link http://orange-management.com + * @since 1.0.0 + */ +class Uninstall extends UninstallAbstract +{ + + /** + * {@inheritdoc} + */ + public static function uninstall(DatabasePool $dbPool, InfoManager $info) + { + parent::uninstall($dbPool, $info); + + $query = new Builder($dbPool->get()); + + $query->prefix($dbPool->get('core')->getPrefix())->drop( + 'profile_account_setting', + 'profile_account_relation', + 'profile_address', + 'profile_phone', + 'profile_account' + ); + + $dbPool->get()->con->prepare($query->toSql())->execute(); + } +} diff --git a/Admin/Update.php b/Admin/Update.php new file mode 100644 index 0000000..bb561d9 --- /dev/null +++ b/Admin/Update.php @@ -0,0 +1,46 @@ + + * @author Dennis Eichhorn + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +namespace Modules\Profile\Admin; + + +use phpOMS\DataStorage\Database\DatabasePool; +use phpOMS\Module\UpdateAbstract; +use phpOMS\System\File\Directory; + +/** + * Navigation class. + * + * @category Modules + * @package Modules\Admin + * @author OMS Development Team + * @author Dennis Eichhorn + * @license OMS License 1.0 + * @link http://orange-management.com + * @since 1.0.0 + */ +class Update extends UpdateAbstract +{ + + /** + * {@inheritdoc} + */ + public static function update(DatabasePool $dbPool, array $info) + { + Directory::deletePath(__DIR__ . '/Update'); + mkdir('Update'); + parent::update($dbPool, $info); + } +} diff --git a/Controller.php b/Controller.php new file mode 100644 index 0000000..f6faafa --- /dev/null +++ b/Controller.php @@ -0,0 +1,122 @@ + + * @author Dennis Eichhorn + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +namespace Modules\Profile; + +use Modules\Admin\Models\AccountMapper; +use phpOMS\Contract\RenderableInterface; +use phpOMS\Message\RequestAbstract; +use phpOMS\Message\ResponseAbstract; +use phpOMS\Module\ModuleAbstract; +use phpOMS\Module\WebInterface; +use phpOMS\Views\View; +use phpOMS\Views\ViewLayout; + +/** + * Profile class. + * + * @category Modules + * @package Modules\Profile + * @author OMS Development Team + * @author Dennis Eichhorn + * @license OMS License 1.0 + * @link http://orange-management.com + * @since 1.0.0 + */ +class Controller extends ModuleAbstract implements WebInterface +{ + + /** + * Module path. + * + * @var string + * @since 1.0.0 + */ + /* public */ const MODULE_PATH = __DIR__; + + /** + * Module version. + * + * @var string + * @since 1.0.0 + */ + /* public */ const MODULE_VERSION = '1.0.0'; + + /** + * Module name. + * + * @var string + * @since 1.0.0 + */ + /* public */ const MODULE_NAME = 'Profile'; + + /** + * Providing. + * + * @var string + * @since 1.0.0 + */ + protected static $providing = []; + + /** + * Dependencies. + * + * @var string + * @since 1.0.0 + */ + protected static $dependencies = [ + ]; + + /** + * @param RequestAbstract $request Request + * @param ResponseAbstract $response Response + * @param mixed $data Generic data + * + * @return RenderableInterface + * + * @since 1.0.0 + * @author Dennis Eichhorn + */ + public function viewProfileList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable + { + $view = new View($this->app, $request, $response); + $view->setTemplate('/Modules/Profile/Theme/Backend/profile-list'); + + $view->setData('accounts', AccountMapper::getNewest(25)); + + return $view; + } + + /** + * @param RequestAbstract $request Request + * @param ResponseAbstract $response Response + * @param mixed $data Generic data + * + * @return RenderableInterface + * + * @since 1.0.0 + * @author Dennis Eichhorn + */ + public function viewProfileSingle(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable + { + $view = new View($this->app, $request, $response); + $view->setTemplate('/Modules/Profile/Theme/Backend/profile-single'); + $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1000301001, $request, $response)); + + $view->setData('account', AccountMapper::get($request->getData('id'))); + + return $view; + } +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..47e5a43 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Profile # diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php new file mode 100644 index 0000000..ae47ad7 --- /dev/null +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -0,0 +1,20 @@ + + * @author Dennis Eichhorn + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +return ['Navigation' => [ + 'List' => 'List', + 'Profile' => 'Profile', + 'Profiles' => 'Profiles', +]]; diff --git a/Theme/Backend/Lang/api.en.lang.php b/Theme/Backend/Lang/api.en.lang.php new file mode 100644 index 0000000..a82e530 --- /dev/null +++ b/Theme/Backend/Lang/api.en.lang.php @@ -0,0 +1,18 @@ + + * @author Dennis Eichhorn + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG[1] = [ + 'i:ModuleInstalled' => 'Installation of the module {$1} was successful.', +]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php new file mode 100644 index 0000000..690c685 --- /dev/null +++ b/Theme/Backend/Lang/en.lang.php @@ -0,0 +1,35 @@ + + * @author Dennis Eichhorn + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +return ['Profile' => [ + 'Account/Group' => 'Account/Group', + 'Activity' => 'Activity', + 'Birthday' => 'Birthday', + 'ContactInformation' => 'Contact Information', + 'Community' => 'Community', + 'Email' => 'Email', + 'LastLogin' => 'Last Login', + 'Name' => 'Name', + 'Occupation' => 'Occupation', + 'OFF' => 'OFF', + 'ON' => 'ON', + 'Phone' => 'Phone', + 'Profile' => 'Profile', + 'Profiles' => 'Profiles', + 'Ranks' => 'Ranks', + 'Registered' => 'Registered', + 'Skype' => 'Skype', + 'Status' => 'Status', +]]; diff --git a/Theme/Backend/acc-grp-popup.tpl.php b/Theme/Backend/acc-grp-popup.tpl.php new file mode 100644 index 0000000..5fcc824 --- /dev/null +++ b/Theme/Backend/acc-grp-popup.tpl.php @@ -0,0 +1,23 @@ + \ No newline at end of file diff --git a/Theme/Backend/img/profile-default-small.jpg b/Theme/Backend/img/profile-default-small.jpg new file mode 100644 index 0000000..6f07f6d Binary files /dev/null and b/Theme/Backend/img/profile-default-small.jpg differ diff --git a/Theme/Backend/profile-list.tpl.php b/Theme/Backend/profile-list.tpl.php new file mode 100644 index 0000000..ea37d33 --- /dev/null +++ b/Theme/Backend/profile-list.tpl.php @@ -0,0 +1,55 @@ + + * @author Dennis Eichhorn + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +/** + * @var \phpOMS\Views\View $this + */ + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); +$footerView->setPages(20); +$footerView->setPage(1); + +$accounts = $this->getData('accounts'); +?> + +
+
+
+ + + + + + + + $account) : $count++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/profile/single?{?}&id=' . $account->getId()); ?> + +
getText('Profiles'); ?>
getText('ID', 0, 0); ?> + getText('Name'); ?> + getText('Activity'); ?> +
render(); ?> +
getId(); ?> + getName3() . ' ' . $account->getName2() . ' ' . $account->getName1(); ?> + getLastActive()->format('Y-m-d'); ?> + + +
getText('Empty', 0, 0); ?> + +
+
+
+
diff --git a/Theme/Backend/profile-single.tpl.php b/Theme/Backend/profile-single.tpl.php new file mode 100644 index 0000000..8cca359 --- /dev/null +++ b/Theme/Backend/profile-single.tpl.php @@ -0,0 +1,116 @@ + + * @author Dennis Eichhorn + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +/** + * @var \phpOMS\Views\View $this + * @var \Modules\Tasks\Models\Task[] $tasks + */ +$account = $this->getData('account'); + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); + +$footerView->setPages(1 / 25); +$footerView->setPage(1); +$footerView->setResults(1); + +echo $this->getData('nav')->render(); +?> +
+
+
+

getText('Profile'); ?>

+
+ + + + + + + + + + + + + + + + + +
getText('Name'); ?> + getName3(); ?>, getName1(); ?> +
getText('Occupation'); ?> + Sailor +
getText('Birthday'); ?> + 06.09.1934 +
getText('Ranks'); ?> + Gosling +
getText('Email'); ?> + getEmail(); ?> +
Address + +
Private + SMALLSYS INC
795 E DRAGRAM
TUCSON AZ 85705
USA +
Work + SMALLSYS INC
795 E DRAGRAM
TUCSON AZ 85705
USA +
getText('Phone'); ?> + +
Private + +01 12345-4567 +
Mobile + +01 12345-4567 +
Work + +01 12345-4567 +
getText('Registered'); ?> + getCreatedAt()->format('Y-m-d'); ?> +
getText('LastLogin'); ?> + getLastActive()->format('Y-m-d'); ?> +
getText('Status'); ?> + getStatus(); ?> +
+ +
+
+
+ +
+
+ + + + + + + $value) : $c++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?> + +
getText('Media', 'Media'); ?>
getText('ID', 0, 0); ?> + getText('Name', 'Media'); ?> + getText('Type', 'Media'); ?> + getText('Created', 'Media'); ?> +
render(); ?> +
getId(); ?> + getNewestHistory()->getPosition(); ?> + getNewestHistory()->getPosition(); ?> + getNewestStatus()->getStatus(); ?> + + +
getText('Empty', 0, 0); ?> + +
+
+
+
diff --git a/img/module_teaser_small.png b/img/module_teaser_small.png new file mode 100644 index 0000000..f56e6ff Binary files /dev/null and b/img/module_teaser_small.png differ diff --git a/info.json b/info.json new file mode 100644 index 0000000..dc6732d --- /dev/null +++ b/info.json @@ -0,0 +1,44 @@ +{ + "name": { + "id": 1000300000, + "internal": "Profile", + "external": "OMS Profile" + }, + "version": "1.0.0", + "requirements": { + "phpOMS": "1.0.0", + "phpOMS-db": "1.0.0" + }, + "creator": { + "name": "Orange Management", + "website": "www.spl1nes.com" + }, + "description": "The profile module.", + "directory": "Profile", + "dependencies": { + "Admin" : "1.0.0" + }, + "providing": { + "Navigation": "*" + }, + "load": [ + { + "pid": [ + "88a70f9456abff33fda791878b9c0bcbe2cb5bc4" + ], + "type": 4, + "for": "Content", + "file": "Profile", + "from": "Profile" + }, + { + "pid": [ + "754a08ddf8bcb1cf22f310f09206dd783d42f7dd" + ], + "type": 5, + "from": "Profile", + "for": "Navigation", + "file": "Navigation" + } + ] +}