I hereby claim:
- I am dehenne on github.
- I am dehenne (https://keybase.io/dehenne) on keybase.
- I have a public key ASAF1r2jnImZQgOqc-2DVfyerZEx7S4gJKhWELJNbHnt7Qo
To claim this, I am signing this object:
df0eaedc5f64af7746549783bfbdc95007959bad09bb03f39f4dbf17683be83c7100051057592b6b37ac04e91d49894a5976cf04e28d4868b13f02a95e641eaa |
I hereby claim:
To claim this, I am signing this object:
execute: function() | |
{ | |
try { | |
var Prom = this.methodReturnPromise(); | |
} catch (err) { | |
alert(‘Meldung an den Benutzer’); | |
} | |
return Prom; | |
} |
require(['Ajax'], function(Ajax) { | |
Ajax.get('package_quiqqer_test_ajax_helloworld', function(result) { | |
console.log(result); | |
}, { | |
'package': 'quiqqer/test', | |
param1: 'HELLO', | |
param2: "UNIVERSE" | |
}); | |
}); |
<?php | |
/** | |
* Hello World Ajax Function | |
*/ | |
QUI::getAjax()->registerFunction( | |
'package_quiqqer_test_ajax_helloworld', | |
function ($param1, $param2) { | |
return $param1 . ' ' . $param2; | |
}, |
<?php | |
/** | |
* Hello World Ajax Function | |
*/ | |
QUI::getAjax()->registerFunction( | |
'package_quiqqer_test_ajax_helloworld', | |
function ($param1, $param2) { | |
return 'Hello World'; | |
}, |
require(['Ajax'], function(Ajax) { | |
Ajax.get('package_quiqqer_test_ajax_helloworld', function(result) { | |
console.log(result); | |
}, { | |
'package': 'quiqqer/test' | |
}); | |
}); |
<?php | |
/** | |
* Hello World Ajax Function | |
*/ | |
QUI::getAjax()->registerFunction('package_quiqqer_test_ajax_helloworld', function () { | |
return 'Hello World'; | |
}); |
<?php | |
/** | |
* Hello World Ajax Function | |
*/ | |
QUI::getAjax()->registerFunction('package_quiqqer_test_ajax_helloworld', function () { | |
// PHP Code | |
}); |