src/ngrest/base/ActiveWindow.php
public function createCallbackUrl($callback)
    {
        return Url::to([
            '/admin/'.$this->model->ngRestApiEndpoint().'/active-window-callback',
            'activeWindowCallback' => Inflector::camel2id($callback),
            'ngrestConfigHash' => $this->getConfigHash(),
            'activeWindowHash' => $this->getActiveWindowHash(),
        ], true);
    }
public function createCallbackUrl($callback)
    {
        return Url::to([
            '/admin/'.$this->model->ngRestApiEndpoint().'/active-window-callback',
            'activeWindowCallback' => Inflector::camel2id($callback),
            'ngrestConfigHash' => $this->getConfigHash(),
            'activeWindowHash' => $this->getActiveWindowHash(),
        ], true);
    }
public function createCallbackUrl ( $ callback ) { return Url :: to ( [ '/admin/' . $ this -> model -> ngRestApiEndpoint ( ) . '/active-window-callback' , 'activeWindowCallback' => Inflector :: camel2id ( $ callback ) , 'ngrestConfigHash' => $ this -> getConfigHash ( ) , 'activeWindowHash' => $ this -> getActiveWindowHash ( ) , ] , true ) ; }
Create an absolute link to a callback.

This method is commonly used when returing data directly to the browser, there for the abolute url to a callback is required. Only logged in
users can view the callback url, but there is no other security about callbacks.

@param string $callback The name of the callback without the callback prefix exmaple `createPdf` if the callback is `callbackCreatePdf()`.
@return string The absolute url to the callback.
Create an absolute link to a callback .