PrestaShop / PrestaShop/docs

Provide properties available in (Admin & Front) Module Controllers

Open
#398 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
136
Forks
555
Avg merge
4d 14h
Merged PRs (30d)
4

Description

Module developper can't guess the properties available in a ModuleAdminController or ModuleFrontController while developping.

For instance, we saw that a controller instanciated its own Module, although it was already available as $this->module

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the documentation for ModuleAdminController and ModuleFrontController, then inspect those controller entry points to identify the properties available to module developers. Update the developer documentation with that property information, including the existing $this->module example, and make the available properties clear for both controller types.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.