public function yourFunction(arg1, arg2) { with (this) { triggeraction(0, 0, "clientside", "thing", arg1, arg2); } }