}
public function distributorsInitialize() {
$aJsonDistributors = json_decode(getJson("notizen.json?id=109"),true);
// Save Array for further use
foreach($aJsonDistributors as $key=>$row)
$aDistributors[$row["1001,1,2"]] = $row["1001,1,3"];
}
public function distributorsInitialize() {
$aJsonDistributors = json_decode(getJson("notizen.json?id=109"),true);
// Save Array for further use
foreach($aJsonDistributors as $key=>$row)
$aDistributors[$row["1001,1,2"]] = $row["1001,1,3"];
//if (true)
{
$shop = new Shop();
$shop->parameterInitialize();
$shop->navigationInitialize();
$shop->navigationBuildHtml();
$shop->mengeneinheitenInitialize();
$shop->distributorsInitialize();
$shop->zahlartenInitialize();
$shop->versandartenInitialize();
| any of the existing IoC bindings, as well as register its own new
| bindings for things like repositories, etc. We'll load it here.
|
*/
$path = $app['path'].'/start/global.php';
if (file_exists($path)) require $path;
/*
* @param array $callbacks
* @return void
*/
protected function fireAppCallbacks(array $callbacks)
{
foreach ($callbacks as $callback)
{
call_user_func($callback, $this);
}
}
// Once the application has booted we will also fire some "booted" callbacks
// for any listeners that need to do work after this initial booting gets
// finished. This is useful when ordering the boot-up processes we run.
$this->fireAppCallbacks($this->bootingCallbacks);
$this->booted = true;
$this->fireAppCallbacks($this->bootedCallbacks);
}
*/
public function boot()
{
if ($this->booted) return;
array_walk($this->serviceProviders, function($p) { $p->boot(); });
$this->bootApplication();
}
*/
public function handle(SymfonyRequest $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try
{
$this->refreshRequest($request = Request::createFromBase($request));
$this->boot();
return $this->dispatch($request);
if ($this->sessionConfigured())
{
$session = $this->startSession($request);
$request->setSession($session);
}
$response = $this->app->handle($request, $type, $catch);
// Again, if the session has been configured we will need to close out the session
* @param \Symfony\Component\HttpFoundation\Request $request
* @param int $type
* @param bool $catch
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$response = $this->app->handle($request, $type, $catch);
foreach ($this->cookies->getQueuedCookies() as $cookie)
* @param \Symfony\Component\HttpFoundation\Request $request
* @param int $type
* @param bool $catch
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch));
}
{
$this->app = $app;
$this->middlewares = $middlewares;
}
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
return $this->app->handle($request, $type, $catch);
}
* @param \Symfony\Component\HttpFoundation\Request $request
* @return void
*/
public function run(SymfonyRequest $request = null)
{
$request = $request ?: $this['request'];
$response = with($stack = $this->getStackedClient())->handle($request);
$response->send();
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have whipped up for them.
|
*/
$app->run();