src/CoreBundle/EventListener/DcGeneral/DefinitionBuilder/ConditionBuilderWithoutVariants.php
protected function calculate()
    {
        if ($this->inputScreen['meta']['rendertype'] !== 'standalone') {
            if ($this->container->getBasicDefinition()->getMode() == BasicDefinitionInterface::MODE_HIERARCHICAL) {
                throw new \RuntimeException('Hierarchical mode with parent table is not supported yet.');
            }
        }

        $this->addHierarchicalConditions();
        $this->addParentCondition();
    }
protected function calculate()
    {
        if ($this->inputScreen['meta']['rendertype'] !== 'standalone') {
            if ($this->container->getBasicDefinition()->getMode() == BasicDefinitionInterface::MODE_HIERARCHICAL) {
                throw new \RuntimeException('Hierarchical mode with parent table is not supported yet.');
            }
        }

        $this->addHierarchicalConditions();
        $this->addParentCondition();
    }
protected function calculate ( ) { if ( $ this -> inputScreen [ 'meta' ] [ 'rendertype' ] !== 'standalone' ) { if ( $ this -> container -> getBasicDefinition ( ) -> getMode ( ) == BasicDefinitionInterface :: MODE_HIERARCHICAL ) { throw new \ RuntimeException ( 'Hierarchical mode with parent table is not supported yet.' ) ; } } $ this -> addHierarchicalConditions ( ) ; $ this -> addParentCondition ( ) ; }
The real calculating function.

@return void

@throws \RuntimeException When the conditions can not be determined yet.
The real calculating function .