CXM_web_action.anubis
861 Bytes
/*
* Created by PyramIDE.
* User: フランスのトトロ aka (David RENÉ)
* Date: 14/03/2017
* Time: 04:23
* © Calexium
*/
transmit calexium_lib/web/types/web_action_name.anubis
//public type WEB_Action_Name:
// controller_action(
// String controller,
// String action_name
// ),
// action_name(
// String action_name
// ),
// //url is raw action, hence we will only copy that url in final link
// url(
// String url_name
// )
//.
public define String
to_Anubis_Source
(
WEB_Action_Name wan
)=
if wan is
{
no_action then "no_action",
controller_action(cont, ac_name) then "controller_action(\""+cont+"\", \""+ac_name+"\")",
action_name(ac_name) then "action_name(\""+ac_name+"\")",
url(url_name) then "url(\""+url_name+"\")"
}
.