StephanWeinhold/pimcore-snippets

语言: PHP

git: https://github.com/StephanWeinhold/pimcore-snippets

pimcore的几个工具。
Several tools for pimcore.
README.md (中文)

pimcore-片段

  • getRandomObject($ folderId) - 获取pimcore对象文件夹的ID,并从该文件夹中返回一个随机对象,包括它的子文件夹。
  • html-to-pdf-pimcore-asset - 从WkHtmlToPdf-Object生成URL的pimcore资产。
  • ImportWikiController - 导入给定的DokuWiki并从条目中生成文件夹和对象。
  • 用于pimcore-navigation的CSS - 用于pimcore中(侧边栏)导航的CSS。比原来更简单,更深入。
  • objects-structure-to-array - 获取pimcore对象文件夹的ID,并返回可用于构建导航的folderstructure的关联数组。另外:对象ID包含在最终节点中。

本文使用googletrans自动翻译,仅供参考, 原文来自github.com

en_README.md

pimcore-snippets

  • getRandomObject($folderId) - Takes an ID of a pimcore object-folder and returns a random object from this folder including it's subfolders.
  • html-to-pdf-pimcore-asset - Generates an pimcore Asset of an URL out of a WkHtmlToPdf-Object.
  • ImportWikiController - Imports a given DokuWiki and generates folders and objects out of entries.
  • CSS for pimcore-navigation - CSS for a (sidebar-)navigation in pimcore. Simpler and deeper than the original one.
  • objects-structure-to-array - Takes an ID of a pimcore object-folder and returns an associative array of the folderstructure you can use to build a navigation. Plus: the object-IDs are included as final node.