<?php

$moduleName = PlatformConnector::$moduleName;
$rootUrl = PlatformConnector::getUrl();
$config = Config::load('common', 'common');

return  array(
    'moduleName' => $moduleName,
    'rootUrl' => $rootUrl,
    'internal' => array(
        'reportUrl' => $config['url']['report'],
        'reportBuilderEdit' => $config['url']['reportBuilderEdit'],
        'reportBuilderSave' => $config['url']['reportBuilderSave'],
    ),
    'reportTypes' => array(
        0 => array(
            'name' => 'standard',
            'title' => PlatformConnector::translate('standard')
        ),
        1 => array(
            'name' => 'combined',
            'title' => PlatformConnector::translate('Combined')
        )
    ),
    'relationTypes' => array(
        0 => array(
            'name' => 'oneToMany',
            'title' => PlatformConnector::translate('oneToMany')
        ),
        1 => array(
            'name' => 'manyToMany',
            'title' => PlatformConnector::translate('manyToMany')
        )
    ),
);
