export hook list for Thelia documentation

This module export all hooks present in a specified template. It is used to generate the documentation

Only a command is available in this module.

Installation

with composer :

"require": {
    "thelia/hook-doc-module": "~1.0"
}

Usage

$ php Thelia hook:export-list

Arguments :

  • template : it is the template id definition :
    • 1 : front-office (default)
    • 2 : back-office
    • 3 : pdf
    • 4 email

exemple :

$ php Thelia hook:export-list 2 \\export hooks for current activated back-office template

Options

  • format : export format wanted : json, xml, yml or array (default: "json")
  • order : hooks order by file

exemple :

$ php Thelia hook:export-list 3 -f json -o \\ export hooks in PDF template in json format ordered by file name
Download
export-hook-list.jpg Download

export hook list for Thelia documentation

This module exports all hooks present in a specified template

Author :

Say Hi & Get in Touch

info@thelia.net - +33(0)4 44 05 31 00

Thelia Network English
E-commerce solution

E-commerce software, useful to create and manage online stores, published under a free license. Discover our new version, based on many modern technologies !

Download Thelia
Business

A team of experts at your service.

Showcase

Over 7000 online stores powered by Thelia

Modules

Customize your Thelia.

Openstudio

Thelia editor