{"action":"created","issue":{"url":"https://api.github.com/repos/jaxon-php/jaxon-core/issues/9","repository_url":"https://api.github.com/repos/jaxon-php/jaxon-core","labels_url":"https://api.github.com/repos/jaxon-php/jaxon-core/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/jaxon-php/jaxon-core/issues/9/comments","events_url":"https://api.github.com/repos/jaxon-php/jaxon-core/issues/9/events","html_url":"https://github.com/jaxon-php/jaxon-core/issues/9","id":195775767,"number":9,"title":"Problem with calling registered functions","user":{"login":"nevtag","id":1618658,"avatar_url":"https://avatars.githubusercontent.com/u/1618658?v=3","gravatar_id":"","url":"https://api.github.com/users/nevtag","html_url":"https://github.com/nevtag","followers_url":"https://api.github.com/users/nevtag/followers","following_url":"https://api.github.com/users/nevtag/following{/other_user}","gists_url":"https://api.github.com/users/nevtag/gists{/gist_id}","starred_url":"https://api.github.com/users/nevtag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nevtag/subscriptions","organizations_url":"https://api.github.com/users/nevtag/orgs","repos_url":"https://api.github.com/users/nevtag/repos","events_url":"https://api.github.com/users/nevtag/events{/privacy}","received_events_url":"https://api.github.com/users/nevtag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-15T10:59:10Z","updated_at":"2016-12-16T04:10:57Z","closed_at":null,"body":"If I call a registered function nothing happens. With the old xajax it is working.\r\nI register the function on this way.\r\n>$this->jaxon->register(Jaxon::USER_FUNCTION, array('appaction', $this, 'appaction') );\r\n\r\nand jaxon write it right in the js.\r\n\r\n>jaxon_appaction = function() {\r\n    return jaxon.request(\r\n        { jxnfun: 'appaction' },\r\n        { parameters: arguments }\r\n    );\r\n};\r\n\r\nMy firephp output:\r\n\r\n>   JAXON::__construct()\r\nApplication::__construct()\r\nUSER::__construct()\r\nApplication::__construct() -> jaxon->processRequest();\r\n\r\nBut the Request will not be processed.\r\nMy question is, must I change my application to the namespace model, so jaxon can call my function?\r\nOr should I go step by step through the Jaxon classes,with firephp , to find out why my function not called?\r\n\r\nregards,\r\nJoc"},"comment":{"url":"https://api.github.com/repos/jaxon-php/jaxon-core/issues/comments/267512868","html_url":"https://github.com/jaxon-php/jaxon-core/issues/9#issuecomment-267512868","issue_url":"https://api.github.com/repos/jaxon-php/jaxon-core/issues/9","id":267512868,"user":{"login":"feuzeu","id":15174329,"avatar_url":"https://avatars.githubusercontent.com/u/15174329?v=3","gravatar_id":"","url":"https://api.github.com/users/feuzeu","html_url":"https://github.com/feuzeu","followers_url":"https://api.github.com/users/feuzeu/followers","following_url":"https://api.github.com/users/feuzeu/following{/other_user}","gists_url":"https://api.github.com/users/feuzeu/gists{/gist_id}","starred_url":"https://api.github.com/users/feuzeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feuzeu/subscriptions","organizations_url":"https://api.github.com/users/feuzeu/orgs","repos_url":"https://api.github.com/users/feuzeu/repos","events_url":"https://api.github.com/users/feuzeu/events{/privacy}","received_events_url":"https://api.github.com/users/feuzeu/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T04:10:57Z","updated_at":"2016-12-16T04:10:57Z","body":"There is no call to the register() function in the firephp output.\r\nYour Jaxon function shall also be registered when processing the Ajax request."}}
{"actor":{"display_login":"feuzeu"}}