2017 © Pedro Peláez
 

symfony-bundle platform-organization-bundle

DigitalState Organization Bundle

image

digitalstate/platform-organization-bundle

DigitalState Organization Bundle

  • Tuesday, February 21, 2017
  • by ds
  • Repository
  • 2 Watchers
  • 0 Stars
  • 142 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

DsOrganizationBundle

The Organization bundle extends the OroOrganizationBundle and provides the developers additional core organization functionality., (*1)

Code Climate Test Coverage, (*2)

Table of Contents

Migration Extensions

This bundle introduces a collection of convenient migration extensions to help with loading yml-based data fixtures., (*3)

Example:, (*4)

<?php

namespace Gov\Bundle\DemoBundle\Migrations\Data\ORM;

use Doctrine\Common\DataFixtures\AbstractFixture;
use Ds\Bundle\OrganizationBundle\Migration\Extension\BusinessUnitExtensionAwareInterface;
use Ds\Bundle\OrganizationBundle\Migration\Extension\BusinessUnitExtensionAwareTrait;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
use Doctrine\Common\Persistence\ObjectManager;

class LoadBusinessUnitData extends AbstractFixture implements BusinessUnitExtensionAwareInterface, ContainerAwareInterface
{
    use BusinessUnitExtensionAwareTrait;
    use ContainerAwareTrait;

    public function load(ObjectManager $manager)
    {
        // Currently extensions are not automatically injected via the *AwareInterface.
        $this->setBusinessUnitExtension($this->container->get('ds.organization.migration.extension.business_unit'));
        //

        $resource = __DIR__.'/../../../Resources/data/business_unit.yml';
        $this->businessUnitExtension->import($resource, $manager);
    }
}
business_units:
    -
        name: Public Works
    -
        name: Finance
    -
        name: Human Resources

prototype:
    name: ~
    phone: ~
    website: ~
    email: ~
    fax: ~
    organization: default
    parent: ~

Todo

The Versions

21/02 2017

dev-master

9999999-dev https://github.com/DigitalState/Platform-Organization-Bundle.git

DigitalState Organization Bundle

  Sources   Download

MIT

The Requires

 

oro

21/02 2017

dev-develop

dev-develop https://github.com/DigitalState/Platform-Organization-Bundle.git

DigitalState Organization Bundle

  Sources   Download

MIT

The Requires

 

oro

21/02 2017

0.3.0

0.3.0.0 https://github.com/DigitalState/Platform-Organization-Bundle.git

DigitalState Organization Bundle

  Sources   Download

MIT

The Requires

 

oro

09/02 2017

0.2.0

0.2.0.0 https://github.com/DigitalState/Platform-Organization-Bundle.git

DigitalState Organization Bundle

  Sources   Download

MIT

The Requires

 

oro

20/01 2017

0.1.2

0.1.2.0 https://github.com/DigitalState/Platform-Organization-Bundle.git

DigitalState Organization Bundle

  Sources   Download

MIT

The Requires

 

oro

10/01 2017

0.1.0

0.1.0.0 https://github.com/DigitalState/Platform-Organization-Bundle.git

DigitalState Organization Bundle

  Sources   Download

MIT

The Requires

 

oro

10/01 2017

0.1.1

0.1.1.0 https://github.com/DigitalState/Platform-Organization-Bundle.git

DigitalState Organization Bundle

  Sources   Download

MIT

The Requires

 

oro