src/Analyse/Callback/Iterate/ThroughConfig.php
public function callMe()
    {
        $configOutput = $this->dispatchStartEvent();

        // We need to "explode" our config array into the
        // sections again, for better readability.
        $sections = array();
        foreach ($this->pool->config->settings as $name => $setting) {
            $sections[$setting->getSection()][$name] = $setting;
        }

        foreach ($sections as $sectionName => $sectionData) {
            // Render a whole section.
            $configOutput .= $this->pool->render->renderExpandableChild(
                $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Model')
                    ->setName($this->pool->messages->getHelp($sectionName . 'Readable'))
                    ->setType(static::TYPE_CONFIG)
                    ->setNormal(static::UNKNOWN_VALUE)
                    ->addParameter(static::PARAM_DATA, $sectionData)
                    ->injectCallback(
                        $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\ConfigSection')
                    )
            );
        }

        // Render the dev-handle field.
        $devHandleLabel = $this->pool->messages->getHelp(Fallback::SETTING_DEV_HANDLE);
        $configOutput .= $this->pool->render->renderSingleEditableChild(
            $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Model')
                ->setData($devHandleLabel)
                ->setDomId(Fallback::SETTING_DEV_HANDLE)
                ->setName($this->pool->config->getDevHandler())
                ->setNormal('\krexx::')
                ->setType(Fallback::RENDER_TYPE_INPUT)
                ->setHelpid('localFunction')
        );

        // Render the reset-button which will delete the debug-cookie.
        return $configOutput . $this->pool->render->renderButton(
            $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Model')
                ->setName('kresetbutton')
                ->setNormal('Reset local settings')
                ->setHelpid('kresetbutton')
        );
    }
public function callMe()
    {
        $configOutput = $this->dispatchStartEvent();

        // We need to "explode" our config array into the
        // sections again, for better readability.
        $sections = array();
        foreach ($this->pool->config->settings as $name => $setting) {
            $sections[$setting->getSection()][$name] = $setting;
        }

        foreach ($sections as $sectionName => $sectionData) {
            // Render a whole section.
            $configOutput .= $this->pool->render->renderExpandableChild(
                $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Model')
                    ->setName($this->pool->messages->getHelp($sectionName . 'Readable'))
                    ->setType(static::TYPE_CONFIG)
                    ->setNormal(static::UNKNOWN_VALUE)
                    ->addParameter(static::PARAM_DATA, $sectionData)
                    ->injectCallback(
                        $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\ConfigSection')
                    )
            );
        }

        // Render the dev-handle field.
        $devHandleLabel = $this->pool->messages->getHelp(Fallback::SETTING_DEV_HANDLE);
        $configOutput .= $this->pool->render->renderSingleEditableChild(
            $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Model')
                ->setData($devHandleLabel)
                ->setDomId(Fallback::SETTING_DEV_HANDLE)
                ->setName($this->pool->config->getDevHandler())
                ->setNormal('\krexx::')
                ->setType(Fallback::RENDER_TYPE_INPUT)
                ->setHelpid('localFunction')
        );

        // Render the reset-button which will delete the debug-cookie.
        return $configOutput . $this->pool->render->renderButton(
            $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Model')
                ->setName('kresetbutton')
                ->setNormal('Reset local settings')
                ->setHelpid('kresetbutton')
        );
    }
public function callMe ( ) { $ configOutput = $ this -> dispatchStartEvent ( ) ; // We need to "explode" our config array into the // sections again, for better readability. $ sections = array ( ) ; foreach ( $ this -> pool -> config -> settings as $ name => $ setting ) { $ sections [ $ setting -> getSection ( ) ] [ $ name ] = $ setting ; } foreach ( $ sections as $ sectionName => $ sectionData ) { // Render a whole section. $ configOutput .= $ this -> pool -> render -> renderExpandableChild ( $ this -> pool -> createClass ( 'Brainworxx\\Krexx\\Analyse\\Model' ) -> setName ( $ this -> pool -> messages -> getHelp ( $ sectionName . 'Readable' ) ) -> setType ( static :: TYPE_CONFIG ) -> setNormal ( static :: UNKNOWN_VALUE ) -> addParameter ( static :: PARAM_DATA , $ sectionData ) -> injectCallback ( $ this -> pool -> createClass ( 'Brainworxx\\Krexx\\Analyse\\Callback\\Analyse\\ConfigSection' ) ) ) ; } // Render the dev-handle field. $ devHandleLabel = $ this -> pool -> messages -> getHelp ( Fallback :: SETTING_DEV_HANDLE ) ; $ configOutput .= $ this -> pool -> render -> renderSingleEditableChild ( $ this -> pool -> createClass ( 'Brainworxx\\Krexx\\Analyse\\Model' ) -> setData ( $ devHandleLabel ) -> setDomId ( Fallback :: SETTING_DEV_HANDLE ) -> setName ( $ this -> pool -> config -> getDevHandler ( ) ) -> setNormal ( '\krexx::' ) -> setType ( Fallback :: RENDER_TYPE_INPUT ) -> setHelpid ( 'localFunction' ) ) ; // Render the reset-button which will delete the debug-cookie. return $ configOutput . $ this -> pool -> render -> renderButton ( $ this -> pool -> createClass ( 'Brainworxx\\Krexx\\Analyse\\Model' ) -> setName ( 'kresetbutton' ) -> setNormal ( 'Reset local settings' ) -> setHelpid ( 'kresetbutton' ) ) ; }
Renders whole configuration.

@return string
The generated markup.
Renders whole configuration .