prepareLinkAssociatedData example

// Format the posted extJs related product streams association         $data = $this->prepareRelatedProductStreamsData($data);

        // Format the posted extJs similar product association         $data = $this->prepareSimilarAssociatedData($data$article);

        // Format the posted extJs product image data         $data = $this->prepareImageAssociatedData($data);

        // Format the posted extJs product link data         $data = $this->prepareLinkAssociatedData($data);

        // Format the posted extJs product download data         $data = $this->prepareDownloadAssociatedData($data);

        $data = $this->prepareConfiguratorTemplateData($data$article);

        return $data;
    }

    /** * Internal helper function which resolves the passed configurator template foreign keys * with the associated models. * * @param array $data * @param Product $article */
Home | Imprint | This part of the site doesn't use cookies.