protected function initResultObject()
    {
        if(!array_key_exists('default', $this->config)) {
            return null;
        }
        // init default value from data
        foreach ($this->config['default'] as $defaultKey => $defaultValue) {
            Tools::runSetter($this->resultObject, $defaultKey, $defaultValue);
        }
    }
protected function initResultObject()
    {
        if(!array_key_exists('default', $this->config)) {
            return null;
        }
        // init default value from data
        foreach ($this->config['default'] as $defaultKey => $defaultValue) {
            Tools::runSetter($this->resultObject, $defaultKey, $defaultValue);
        }
    }
protected function initResultObject ( ) { if ( ! array_key_exists ( 'default' , $ this -> config ) ) { return null ; } // init default value from data foreach ( $ this -> config [ 'default' ] as $ defaultKey => $ defaultValue ) { Tools :: runSetter ( $ this -> resultObject , $ defaultKey , $ defaultValue ) ; } }
Result object initialisation
@return null
Result object initialisation