src/Analyse/Callback/Analyse/ConfigSection.php
public function callMe()
    {
        $sectionOutput = $this->dispatchStartEvent();

        foreach ($this->parameters[static::PARAM_DATA] as $id => $setting) {
            // Render the single value.
            // We need to find out where the value comes from.
            /** @var \Brainworxx\Krexx\Service\Config\Model $setting */
            if ($setting->getType() !== Fallback::RENDER_TYPE_NONE) {
                $value = $setting->getValue();
                // We need to re-translate booleans to something the
                // frontend can understand.
                if ($value === true) {
                    $value = 'true';
                }

                if ($value === false) {
                    $value = 'false';
                }

                /** @var Model $model */
                $model = $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Model')->setHelpid($id . static::META_HELP);
                $name = $this->pool->messages->getHelp($id . 'Readable');
                if ($setting->getEditable() === true) {
                    $model->setData($name)
                        ->setDomid($id)
                        ->setName($value)
                        ->setNormal($setting->getSource())
                        ->setType($setting->getType());
                    $sectionOutput .= $this->pool->render->renderSingleEditableChild($model);
                } else {
                    $model->setData($value)
                        ->setName($name)
                        ->setNormal($value)
                        ->setType($setting->getSource());
                    $sectionOutput .= $this->pool->render->renderSingleChild($model);
                }
            }
        }

        return $sectionOutput;
    }
public function callMe()
    {
        $sectionOutput = $this->dispatchStartEvent();

        foreach ($this->parameters[static::PARAM_DATA] as $id => $setting) {
            // Render the single value.
            // We need to find out where the value comes from.
            /** @var \Brainworxx\Krexx\Service\Config\Model $setting */
            if ($setting->getType() !== Fallback::RENDER_TYPE_NONE) {
                $value = $setting->getValue();
                // We need to re-translate booleans to something the
                // frontend can understand.
                if ($value === true) {
                    $value = 'true';
                }

                if ($value === false) {
                    $value = 'false';
                }

                /** @var Model $model */
                $model = $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Model')->setHelpid($id . static::META_HELP);
                $name = $this->pool->messages->getHelp($id . 'Readable');
                if ($setting->getEditable() === true) {
                    $model->setData($name)
                        ->setDomid($id)
                        ->setName($value)
                        ->setNormal($setting->getSource())
                        ->setType($setting->getType());
                    $sectionOutput .= $this->pool->render->renderSingleEditableChild($model);
                } else {
                    $model->setData($value)
                        ->setName($name)
                        ->setNormal($value)
                        ->setType($setting->getSource());
                    $sectionOutput .= $this->pool->render->renderSingleChild($model);
                }
            }
        }

        return $sectionOutput;
    }
public function callMe ( ) { $ sectionOutput = $ this -> dispatchStartEvent ( ) ; foreach ( $ this -> parameters [ static :: PARAM_DATA ] as $ id => $ setting ) { // Render the single value. // We need to find out where the value comes from. /** @var \Brainworxx\Krexx\Service\Config\Model $setting */ if ( $ setting -> getType ( ) !== Fallback :: RENDER_TYPE_NONE ) { $ value = $ setting -> getValue ( ) ; // We need to re-translate booleans to something the // frontend can understand. if ( $ value === true ) { $ value = 'true' ; } if ( $ value === false ) { $ value = 'false' ; } /** @var Model $model */ $ model = $ this -> pool -> createClass ( 'Brainworxx\\Krexx\\Analyse\\Model' ) -> setHelpid ( $ id . static :: META_HELP ) ; $ name = $ this -> pool -> messages -> getHelp ( $ id . 'Readable' ) ; if ( $ setting -> getEditable ( ) === true ) { $ model -> setData ( $ name ) -> setDomid ( $ id ) -> setName ( $ value ) -> setNormal ( $ setting -> getSource ( ) ) -> setType ( $ setting -> getType ( ) ) ; $ sectionOutput .= $ this -> pool -> render -> renderSingleEditableChild ( $ model ) ; } else { $ model -> setData ( $ value ) -> setName ( $ name ) -> setNormal ( $ value ) -> setType ( $ setting -> getSource ( ) ) ; $ sectionOutput .= $ this -> pool -> render -> renderSingleChild ( $ model ) ; } } } return $ sectionOutput ; }
Renders each section of the footer.

@return string
The generated markup.
Renders each section of the footer .