src/Analyse/Callback/Iterate/ThroughResource.php
public function callMe()
    {
        // Allow the start event to change the provided meta data.
        $output = $this->dispatchStartEvent();

        // Temporarily disable code gen.
        $isAllowedCodeGen = $this->pool->codegenHandler->getAllowCodegen();
        $this->pool->codegenHandler->setAllowCodegen(false);

        foreach ($this->parameters[static::PARAM_DATA] as $name => $data) {
            $output .= $this->pool->routing->analysisHub(
                $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Model')
                    ->setData($data)
                    ->setName(str_replace('_', ' ', $name))
                    ->setNormal($data)
            );
        }

        // Reset code generation.
        $this->pool->codegenHandler->setAllowCodegen($isAllowedCodeGen);

        return $output;
    }
public function callMe()
    {
        // Allow the start event to change the provided meta data.
        $output = $this->dispatchStartEvent();

        // Temporarily disable code gen.
        $isAllowedCodeGen = $this->pool->codegenHandler->getAllowCodegen();
        $this->pool->codegenHandler->setAllowCodegen(false);

        foreach ($this->parameters[static::PARAM_DATA] as $name => $data) {
            $output .= $this->pool->routing->analysisHub(
                $this->pool->createClass('Brainworxx\\Krexx\\Analyse\\Model')
                    ->setData($data)
                    ->setName(str_replace('_', ' ', $name))
                    ->setNormal($data)
            );
        }

        // Reset code generation.
        $this->pool->codegenHandler->setAllowCodegen($isAllowedCodeGen);

        return $output;
    }
public function callMe ( ) { // Allow the start event to change the provided meta data. $ output = $ this -> dispatchStartEvent ( ) ; // Temporarily disable code gen. $ isAllowedCodeGen = $ this -> pool -> codegenHandler -> getAllowCodegen ( ) ; $ this -> pool -> codegenHandler -> setAllowCodegen ( false ) ; foreach ( $ this -> parameters [ static :: PARAM_DATA ] as $ name => $ data ) { $ output .= $ this -> pool -> routing -> analysisHub ( $ this -> pool -> createClass ( 'Brainworxx\\Krexx\\Analyse\\Model' ) -> setData ( $ data ) -> setName ( str_replace ( '_' , ' ' , $ name ) ) -> setNormal ( $ data ) ) ; } // Reset code generation. $ this -> pool -> codegenHandler -> setAllowCodegen ( $ isAllowedCodeGen ) ; return $ output ; }
Renders the info of a resource.

@return string
The generated markup.
Renders the info of a resource .