We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example:
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace Application\Controller; //use Zend\Mvc\Controller\AbstractActionController; use JaztecAcl\Controller\AuthorizedController; use KJSencha\Direct\Remoting\Api\Api; use Zend\Http\Headers; class IndexController extends AuthorizedController { public function indexAction() { $sm = $this->getServiceLocator(); $bootstrap = $sm->get('kjsencha.bootstrap'); return $bootstrap->getViewModel(); } public function apiAction() { $this->layout( 'layout/api' ); $headers = new Headers(); $headers->addHeaderLine('Content-Type', 'text/javascript'); $headers->addHeaderLine('Access-Control-Allow-Origin','*'); $this->getResponse()->setHeaders($headers); $sm = $this->getServiceLocator(); $dr = $sm->get('kjsencha.api'); $dr->setType('rpc'); $dr->setUrl( (isset($_SERVER['HTTPS']) ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $dr->getUrl()); echo sprintf('Ext.ns(\'Ext.mbDirect\'); Ext.mbDirect.APIDesc = %s;', $dr->buildRemotingProvider()->toJson()); } }
The text was updated successfully, but these errors were encountered:
Hi Demon, what is the intent of this ticket?
Sorry, something went wrong.
Hi my name is Radek
Please test Sencha Architect 3 - you will know what is the intention of the ticket
Wiadomość napisana przez Roy van Kaathoven [email protected] w dniu 30 lis 2013, o godz. 18:15:
Hi Demon, what is the intent of this ticket? — Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
No branches or pull requests
example:
The text was updated successfully, but these errors were encountered: