mirror of
https://github.com/friendica/friendica
synced 2025-04-22 17:50:11 +00:00
Pass Router parameter to module content method
This commit is contained in:
parent
f21edefe15
commit
134d6d18f9
6 changed files with 25 additions and 20 deletions
|
@ -94,6 +94,14 @@ class Module
|
|||
return $this->module_class;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array The module parameters extracted from the route
|
||||
*/
|
||||
public function getParameters()
|
||||
{
|
||||
return $this->module_parameters;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool True, if the current module is a backend module
|
||||
* @see Module::BACKEND_MODULES for a list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue