Get the renderings related to the children of $component.

@param QtiComponent $component A QtiComponent object to be rendered.
@return array
503289
public function getChildrenRenderings(QtiComponent $component)
    {
        $returnValue = array();

        foreach (array_reverse($component->getComponents()->getArrayCopy()) as $c) {

            if (count($this->getRenderingStack()) > 0) {
                list($renderedComponent, $rendering) = $this->getRenderingStack()->pop();

                if ($c === $renderedComponent) {
                    array_unshift($returnValue, $rendering);
                } else {
                    // repush...
                    $this->storeRendering($renderedComponent, $rendering);
                }
            }
        }

        return $returnValue;
    }
889186
private function getTransitions( common_configuration_Component $component)
    {
        $returnValue = array();

        
    	$dependencies = $this->dependencies;
    	foreach($dependencies as $d){
    		if ($d['component'] === $component){
    			array_push($returnValue, $d);
    		}
    	}
        

        return (array) $returnValue;
    }
1328410
public function renderComponent()
    {
        $name = array_pop($this->componentStack);

        return $this->render($name, $this->componentData($name));
    }
681026
protected function marshall(QtiComponent $component)
    {
        $element = static::getDOMCradle()->createElement($component->getQtiClassName());

        $this->setDOMElementAttribute($element, 'sourceValue', $component->getSourceValue());
        $this->setDOMElementAttribute($element, 'targetValue', $component->getTargetValue());

        return $element;
    }
1300309
public function findComponentPlugin($component)
    {
        $className = Str::normalizeClassName(get_class($component));
        if (isset($this->pluginMap[$className])) {
            return $this->pluginMap[$className];
        }

        return null;
    }
479330
public static function getComponentName($component)
    {
        $details = $component->componentDetails();
        $name = $details['name'] ?? 'cms::lang.component.unnamed';

        return Lang::get($name);
    }
887038
protected function marshall(QtiComponent $component)
    {
        $element = static::getDOMCradle()->createElement($component->getQtiClassName());

        $this->setDOMElementAttribute($element, 'sourceIdentifier', $component->getSource());
        $this->setDOMElementAttribute($element, 'targetIdentifier', $component->getTarget());

        return $element;
    }
831164
public function getConfiguration (Component $component) : array
    {
        try
        {
            /** @var \Twig_Loader_Filesystem $loader */
            $loader = $this->twig->getLoader();
            $template = $loader->getSourceContext($component->getImportPath())->getCode();

            if (1 === preg_match('~^\\s*\\{#-?(?P<config>.*?)-?#\\}~s', $template, $matches))
            {
                return $this->parseConfig($matches["config"]);
            }

            return [];
        }
        catch (\Twig_Error $e)
        {
            return [];
        }
    }
1298641
public function get_contextlist_for_component(string $component) {
        if (isset($this->contextlists[$component])) {
            return $this->contextlists[$component];
        }

        return null;
    }
1188306
protected function marshall(QtiComponent $component)
    {
        $version = $this->getVersion();
        $element = $this->createElement($component);
        $this->setDOMElementAttribute($element, 'identifier', $component->getIdentifier());

        if ($component->isFixed() === true) {
            $this->setDOMElementAttribute($element, 'fixed' , true);
        }

        if (Version::compare($version, '2.1.0', '>=') === true && $component->hasTemplateIdentifier() === true) {
            $this->setDOMElementAttribute($element, 'templateIdentifier', $component->getTemplateIdentifier());
        }

        if (Version::compare($version, '2.1.0', '>=') === true && $component->getShowHide() === ShowHide::HIDE) {
            $this->setDOMElementAttribute($element, 'showHide', ShowHide::getNameByConstant(ShowHide::HIDE));
        }

        if (Version::compare($version, '2.1.0', '>=') === true && $component->isRequired() === true) {
            $this->setDOMElementAttribute($element, 'required', true);
        }
        
        if (Version::compare($version, '2.1.0', '<') === true) {
            $matchGroup = $component->getMatchGroup();
            if (count($matchGroup) > 0) {
                $this->setDOMElementAttribute($element, 'matchGroup', implode(' ', $matchGroup->getArrayCopy()));
            }
        }

        $this->fillElement($element, $component);

        return $element;
    }
1026210
protected function getComponents()
    {
        if ($this->_components === null) {
            if ($this->_string === null) {
                return [];
            }
            $this->_components = $this->parseUri($this->_string);
        }
        return $this->_components;
    }
1271247
public static function getEditComponents($component)
    {
        $editComponents = array();

        //egal ob component eine page ist oder nicht, selbst darf sie immer bearbeitet werden
        //es ist dann *keine* page wenn der benutzer unter eine unterkomponente bearbeiten darf - nicht aber die page selbst
        $editComponents[] = $component;

        $editComponents = array_merge($editComponents,
            $component->getRecursiveChildComponents(
                array(
                    'hasEditComponents' => true,
                    'ignoreVisible' => true,
                    'generatorFlags' => array('showInPageTreeAdmin' => false),
                ), array(
                    'generatorFlags' => array('showInPageTreeAdmin' => false),
                    'hasEditComponents' => true,
                )
            )
        );
        return $editComponents;
    }
1238205
public function indexAction($component = null)
    {
        $components = [
            'color',
            'text',
            'heading',
            'layout',
            'button',
            'drops',
            'fab',
            'form',
            'slots',
            'widgets',
            'input-images',
            'list-group',
            'seo',
            'image',
            'menu',
            'mode-switcher',
            'navbar',
            'modal',
            'collapse',
            'alert',
        ];

        return $this->render('@VictoireUI/Styleguide/index.html.twig', [
            'components' => $component ? [$component] : $components,
            'focus'      => $component != null,
        ]);
    }
546635
protected function parseVCalendarComponents(Component $parentComponent)
    {
        foreach ($this->pointer['value'] ?: [] as $children) {
            switch (static::getTagName($children['name'])) {
                case 'properties':
                    $this->pointer = &$children['value'];
                    $this->parseProperties($parentComponent);
                    break;

                case 'components':
                    $this->pointer = &$children;
                    $this->parseComponent($parentComponent);
                    break;
            }
        }
    }
1021110
function getComponentNodes ($container, traverse = true, arr = []) {
  if ($container._durruti) {
    arr.push($container)
  }

  if (traverse && $container.children) {
    for (let i = 0; i < $container.children.length; i++) {
      getComponentNodes($container.children[i], traverse, arr)
    }
  }

  return arr
}
377662
protected function marshall(QtiComponent $component)
    {
        $element = static::getDOMCradle()->createElement($component->getQtiClassName());

        $this->setDOMElementAttribute($element, 'href', $component->getHref());
        $this->setDOMElementAttribute($element, 'media', $component->getMedia());
        $this->setDOMElementAttribute($element, 'type', $component->getType());

        if (($title = $component->getTitle()) != '') {
            $this->setDOMElementAttribute($element, 'title', $component->getTitle());
        }

        return $element;
    }
1115903
protected function appendChildren(DOMDocumentFragment $fragment, QtiComponent $component, $base = '')
    {
        foreach ($this->getRenderingEngine()->getChildrenRenderings($component) as $childrenRendering) {
            $fragment->firstChild->appendChild($childrenRendering);
        }
    }