app/code/community/Nexcessnet/Turpentine/Model/Observer/Esi.php
protected function _getComplexRegistryData($valueOptions, $value) {
        $idMethod = @$valueOptions['id_method'] ?
            $valueOptions['id_method'] : 'getId';
        $model = @$valueOptions['model'] ?
            $valueOptions['model'] : Mage::helper('turpentine/data')
                ->getModelName($value);
        $data = array(
            'model'         => $model,
            'id'            => $value->{$idMethod}(),
        );
        return $data;
    }
protected function _getComplexRegistryData($valueOptions, $value) {
        $idMethod = @$valueOptions['id_method'] ?
            $valueOptions['id_method'] : 'getId';
        $model = @$valueOptions['model'] ?
            $valueOptions['model'] : Mage::helper('turpentine/data')
                ->getModelName($value);
        $data = array(
            'model'         => $model,
            'id'            => $value->{$idMethod}(),
        );
        return $data;
    }
protected function _getComplexRegistryData ( $ valueOptions , $ value ) { $ idMethod = @ $ valueOptions [ 'id_method' ] ? $ valueOptions [ 'id_method' ] : 'getId' ; $ model = @ $ valueOptions [ 'model' ] ? $ valueOptions [ 'model' ] : Mage :: helper ( 'turpentine/data' ) -> getModelName ( $ value ) ; $ data = array ( 'model' => $ model , 'id' => $ value -> { $ idMethod } ( ) , ) ; return $ data ; }
Get the complex registry entry data

@param  array $valueOptions
@param  mixed $value
@return array
Get the complex registry entry data