Changes
Page history
Updated Création d'un nouveau module dans CO2 (markdown)
authored
Jun 15, 2017
by
marc-fun
Hide whitespace changes
Inline
Side-by-side
Création-d'un-nouveau-module-dans-CO2.md
View page @
26c76614
...
...
@@ -40,12 +40,12 @@ class IndexAction extends CAction
{
$paramOne
=
"test1"
;
$paramTwo
=
"test2"
;
$params
=
array
(
"paramOne"
=>
$paramOne
,
"paramTwo"
=>
$paramTwo
);
if
(
Yii
::
app
()
->
request
->
isAjaxRequest
)
echo
$controller
->
renderPartial
(
"index"
,
$params
,
true
);
else
$controller
->
render
(
"index"
,
$params
);
$params
=
array
(
"paramOne"
=>
$paramOne
,
"paramTwo"
=>
$paramTwo
);
if
(
Yii
::
app
()
->
request
->
isAjaxRequest
)
echo
$controller
->
renderPartial
(
"index"
,
$params
,
true
);
else
$controller
->
render
(
"index"
,
$params
);
}
...
...
@@ -67,10 +67,7 @@ class InteroperabilityController extends CommunecterController {
{
return
array
(
'index'
=>
'citizenToolKit.controllers.interoperability.IndexAction'
,
'wiki'
=>
'citizenToolKit.controllers.interoperability.WikiAction'
,
'datagouv'
=>
'citizenToolKit.controllers.interoperability.DatagouvAction'
,
'osm'
=>
'citizenToolKit.controllers.interoperability.OsmAction'
,
'ods'
=>
'citizenToolKit.controllers.interoperability.OdsAction'
,
'autre'
=>
'citizenToolKit.controllers.interoperability.AutreAction'
);
}
}
...
...
...
...