public function guessFromAssetsLoader(AssetsLoader $loader)
    {
        $this->setAssetsLoader($loader);
        $this
            ->setLayoutsDir($this->assets_loader->getAssetsRealPath())
            ->setToTemplate('setWebRootPath', $this->assets_loader->getAssetsWebPath())
            ->setToView('addDefaultViewParam', 'assets', $this->assets_loader->getAssetsWebPath())
            ->setToTemplate('setWebRootPath', $this->assets_loader->getDocumentRoot())
            ;
        return $this;
    }