nitra / e-commerce-admin-buyerbundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
nep admin buyer bundle
dev-master
2014-10-02 16:38 UTC
This package is auto-updated.
Last update: 2018-04-08 17:32:19 UTC
README
Описание
данный бандл предназначен для:
- для создания и редактирования пользователей
Подключение
- composer.json
{
...
"require": {
...
"nitra/e-commerce-admin-buyerbundle": "dev-master",
...
}
...
}
- app/AppKernel.php
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
//...
public function registerBundles()
{
//...
$bundles = array(
//...
new Nitra\BuyerBundle\NitraBuyerBundle(),
//...
);
//...
return $bundles;
}
//...
}
- routing.yml
NitraBuyerBundle:
resource: "@NitraBuyerBundle/Resources/config/routing.yml"
prefix: /{_locale}/
defaults:
_locale: ru
requirements:
_locale: en|ru
- menu.yml
buyer:
translateDomain: 'menu'
route: Nitra_BuyerBundle_Buyer_list
#...
tree: #menu containers
main: #main container
type: navigation # menu type id
children:
buyer: ~
#...