34 lines
744 B
PHP
34 lines
744 B
PHP
<?php
|
|
|
|
class AntadisConfiguratorModulesRoutesController
|
|
{
|
|
public function run()
|
|
{
|
|
return array(
|
|
'module-antadisconfigurator-upload' => array(
|
|
'controller' => 'upload',
|
|
'rule' => 'configurator{/:module_action}{/:id_product}{/:reference}',
|
|
'keywords' => array(
|
|
'module_action' => array(
|
|
'regexp' => '[\w]+',
|
|
'param' => 'module_action'
|
|
),
|
|
'id_product' => array(
|
|
'regexp' => '[\d]+',
|
|
'param' => 'id_product'
|
|
),
|
|
'reference' => array(
|
|
'regexp' => '[\w]+',
|
|
'param' => 'reference'
|
|
),
|
|
),
|
|
'params' => array(
|
|
'fc' => 'module',
|
|
'module' => 'antadisconfigurator',
|
|
'controller' => 'upload'
|
|
)
|
|
)
|
|
);
|
|
}
|
|
}
|