Assetsbundle

AssetsBundle is a module for Zend Framework allowing asset managment (bundling & caching)

Table of contents


Class: \AssetsBundle\AssetFile\AssetFilesConfiguration

Visibility Function
public addAssetFile(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : \AssetsBundle\AssetFile\AssetFilesManager
public addAssetFileFromOptions(array $aAssetFileOptions)</strong> : \AssetsBundle\AssetFile\AssetFilesConfiguration
public assetsConfigurationHasChanged(array $aAssetsType=null)</strong> : boolean
Check if assets configuration is the same as last saved configuration
public getAssetFileFromFilePath(\AssetsBundle\AssetFile\AssetFile $oAssetFile, \AssetsBundle\AssetFile\type $sAssetRealPath)</strong> : \AssetsBundle\AssetFile\AssetFilesConfiguration
public getAssetFiles(string $sAssetFileType=null)</strong> : array
public getAssetRelativePath(string $sAssetPath)</strong> : string
Retrieve asset relative path
public getConfigurationFilePath() : string
Retrieve configuration file name for the current request
public getConfigurationKey() : string
public getOptions() : \AssetsBundle\Service\ServiceOptions
public saveAssetFilesConfiguration() : \AssetsBundle\AssetFile\AssetFilesConfiguration
Save current asset configuration into conf file
public setOptions(\AssetsBundle\Service\ServiceOptions $oOptions)</strong> : \AssetsBundle\AssetFile\AssetFilesConfiguration
protected getAssetFilesPathFromDirectory(string $sDirPath, string $sAssetType)</strong> : array
Retrieve assets from a directory

Class: \AssetsBundle\AssetFile\AssetFilesCacheManager

Visibility Function
public __construct(\AssetsBundle\Service\ServiceOptions $oOptions=null)</strong> : void
Constructor
public cacheAssetFile(\AssetsBundle\AssetFile\AssetFile $oAssetFile, \AssetsBundle\AssetFile\AssetFile $oSourceAssetFile=null)</strong> : \AssetsBundle\AssetFile\AssetFile
public getAssetFileCachePath(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : string
public getOptions() : \AssetsBundle\Service\ServiceOptions
public getProductionCachedAssetFiles(string $sAssetFileType)</strong> : array
public hasProductionCachedAssetFiles(string $sAssetFileType)</strong> : boolean
public isAssetFileCached(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : boolean
public sanitizeAssetFilePath(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : string
public setOptions(\AssetsBundle\Service\ServiceOptions $oOptions)</strong> : \AssetsBundle\AssetFile\AssetFilesManager

Class: \AssetsBundle\AssetFile\AssetFile

Visibility Function
public static assetFileTypeExists(string $sAssetFileType)</strong> : boolean
Check if asset file’s type is valid
public getAssetFileContents() : string
public static getAssetFileDefaultExtension(mixed $sAssetFileType)</strong> : string
public getAssetFileExtension() : string
public getAssetFileLastModified() : int/null
Retrieve asset file last modified timestamp
public getAssetFilePath() : string
public getAssetFileSize() : integer/null
Retrieve asset file size
public getAssetFileType() : string
public isAssetFilePathUrl() : boolean
public setAssetFileContents(string $sAssetFileContents, bool/boolean $bFileAppend=true)</strong> : \AssetsBundle\AssetFile\AssetFile
public setAssetFilePath(string $sAssetFilePath)</strong> : \AssetsBundle\Service\AssetFile
public setAssetFileType(string $sAssetFileType)</strong> : \AssetsBundle\Service\AssetFile

This class extends \Zend\Stdlib\AbstractOptions

This class implements \Zend\Stdlib\ParameterObjectInterface


Class: \AssetsBundle\AssetFile\AssetFilesManager

Visibility Function
public __construct(\AssetsBundle\Service\ServiceOptions $oOptions=null)</strong> : void
Constructor
public __destruct() : void
On destruction, delete all existing tmp asset files
public getAssetFileFiltersManager() : \AssetsBundle\AssetFile\AssetFileFiltersManager
Retrieve the asset file filters manager. Lazy loads an instance if none currently set.
public getAssetFilesCacheManager() : \AssetsBundle\AssetFile\AssetFilesCacheManager
Retrieve the asset files cache manager. Lazy loads an instance if none currently set.
public getAssetFilesConfiguration() : \AssetsBundle\AssetFile\AssetFilesConfiguration
Retrieve the asset files configuration. Lazy loads an instance if none currently set.
public getCachedAssetsFiles(string $sAssetFileType)</strong> : array
public getOptions() : \AssetsBundle\Service\ServiceOptions
public rewriteAssetFileUrls(\string $sAssetFileContent, \AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : string
Rewrite url of an asset file content to match with cache path if needed
public rewriteUrl(array $aMatches, \AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : string
Rewrite url to match with cache path if needed
public setAssetFileFiltersManager(\AssetsBundle\AssetFile\AssetFileFiltersManager $oAssetFileFiltersManager)</strong> : \AssetsBundle\AssetFile\AssetFilesManager
Set the asset file filters manager
public setAssetFilesCacheManager(\AssetsBundle\AssetFile\AssetFilesCacheManager $oAssetFilesCacheManager)</strong> : \AssetsBundle\AssetFile\AssetFilesManager
Set the asset files cache manager
public setAssetFilesConfiguration(\AssetsBundle\AssetFile\AssetFilesConfiguration $oAssetFilesConfiguration)</strong> : \AssetsBundle\AssetFile\AssetFilesManager
Set the asset files configuration
public setOptions(\AssetsBundle\Service\ServiceOptions $oOptions)</strong> : \AssetsBundle\AssetFile\AssetFilesManager
protected cacheCssAssetFiles() : array
Cache Css asset files and retrieve cached asset files
protected cacheJsAssetFiles() : array
Cache Js asset files and retrieve cached asset files
protected cacheLessAssetFiles() : array
Cache Less asset files and retrieve cached asset files
protected cacheMediaAssetFiles() : array
Cache media asset files and retrieve cached asset files
protected createTmpAssetFile(string $sAssetFileType)</strong> : \AssetsBundle\AssetFile\AssetFile

Class: \AssetsBundle\AssetFile\AssetFileFiltersManager

Visibility Function
public getOptions() : \AssetsBundle\Service\ServiceOptions
public setOptions(\AssetsBundle\Service\ServiceOptions $oOptions)</strong> : \AssetsBundle\AssetFile\AssetFileFiltersManager
public setService(string $sName, mixed $oAssetFileFilter, bool/boolean $bShared=true)</strong> : \AssetsBundle\AssetFile\AssetFileFiltersManager
public validatePlugin(mixed $oAssetFileFilter)</strong> : void
Validate the plugin. Checks that the filter loaded is an instance of \AssetsBundle\AssetFile\AssetFileFilter\AssetFileFilterInterface

This class extends \Zend\ServiceManager\AbstractPluginManager

This class implements \Zend\ServiceManager\ServiceLocatorAwareInterface, \Zend\ServiceManager\ServiceLocatorInterface, \Psr\Container\ContainerInterface, \Interop\Container\ContainerInterface


Class: \AssetsBundle\AssetFile\AssetFileFilter\AbstractAssetFileFilter (abstract)

Visibility Function
public cacheFilteredAssetFileContent(\AssetsBundle\AssetFile\AssetFile $oAssetFile, string $sFilteredContent)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\AbstractAssetFileFilter
public getAssetFileFilterName() : string
public getAssetFileFilterProcessedDirPath() : string
public getCachedFilteredContent(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : boolean/string
public getCachedFilteredContentFilePath(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : string
public getOptions() : \AssetsBundle\Service\ServiceOptions
public setAssetFileFilterName(string $sAssetFileFilterName)</strong> : \AssetsBundle\Service\Filter\AbstractFilter
public setOptions(\AssetsBundle\Service\ServiceOptions $oOptions)</strong> : \AssetsBundle\Service\Service

This class extends \Zend\Stdlib\AbstractOptions

This class implements \Zend\Stdlib\ParameterObjectInterface, \AssetsBundle\AssetFile\AssetFileFilter\AssetFileFilterInterface


Class: \AssetsBundle\AssetFile\AssetFileFilter\AbstractMinifierAssetFileFilter (abstract)

Visibility Function
public filterAssetFile(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : string
protected abstract minifyContent(mixed $sContent)</strong> : string

This class extends \AssetsBundle\AssetFile\AssetFileFilter\AbstractAssetFileFilter

This class implements \AssetsBundle\AssetFile\AssetFileFilter\AssetFileFilterInterface, \Zend\Stdlib\ParameterObjectInterface


Interface: \AssetsBundle\AssetFile\AssetFileFilter\AssetFileFilterInterface

Visibility Function
public filterAssetFile(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : string
public getAssetFileFilterName() : string
public getAssetFileFilterProcessedDirPath() : string
public getOptions() : \AssetsBundle\Service\ServiceOptions
public setOptions(\AssetsBundle\Service\ServiceOptions $oOptions)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\AssetFileFilterInterface

This class implements \Zend\Stdlib\ParameterObjectInterface


Class: \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\AbstractImageAssetFileFilter (abstract)

Visibility Function
public __construct(array $oOptions=null)</strong> : void
Constructor
public filterAssetFile(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : string
protected assetFileShouldBeOptimize(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : boolean
protected abstract optimizeImage(\AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\resource $oImage)</strong> : string

This class extends \AssetsBundle\AssetFile\AssetFileFilter\AbstractAssetFileFilter

This class implements \AssetsBundle\AssetFile\AssetFileFilter\AssetFileFilterInterface, \Zend\Stdlib\ParameterObjectInterface


Class: \AssetsBundle\AssetFile\AssetFileFilter\JsAssetFileFilter\AbstractJsAssetFileFilter (abstract)

| Visibility | Function | |:———–|:———|

This class extends \AssetsBundle\AssetFile\AssetFileFilter\AbstractMinifierAssetFileFilter

This class implements \Zend\Stdlib\ParameterObjectInterface, \AssetsBundle\AssetFile\AssetFileFilter\AssetFileFilterInterface


Class: \AssetsBundle\AssetFile\AssetFileFilter\JsAssetFileFilter\JsMinAssetFileFilter

Visibility Function
protected minifyContent(mixed $sContent)</strong> : string

This class extends \AssetsBundle\AssetFile\AssetFileFilter\JsAssetFileFilter\AbstractJsAssetFileFilter

This class implements \AssetsBundle\AssetFile\AssetFileFilter\AssetFileFilterInterface, \Zend\Stdlib\ParameterObjectInterface


Class: \AssetsBundle\AssetFile\AssetFileFilter\JsAssetFileFilter\JShrinkAssetFileFilter

Visibility Function
protected minifyContent(mixed $sContent)</strong> : string

This class extends \AssetsBundle\AssetFile\AssetFileFilter\JsAssetFileFilter\AbstractJsAssetFileFilter

This class implements \AssetsBundle\AssetFile\AssetFileFilter\AssetFileFilterInterface, \Zend\Stdlib\ParameterObjectInterface


Class: \AssetsBundle\AssetFile\AssetFileFilter\StyleAssetFileFilter\LessphpAssetFileFilter

Visibility Function
public filterAssetFile(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : string
public getLessParser() : \Less_Parser
public setLessParser(\Less_Parser $oParser)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\LessphpAssetFileFilter

This class extends \AssetsBundle\AssetFile\AssetFileFilter\AbstractAssetFileFilter

This class implements \AssetsBundle\AssetFile\AssetFileFilter\AssetFileFilterInterface, \Zend\Stdlib\ParameterObjectInterface


Class: \AssetsBundle\AssetFile\AssetFileFilter\StyleAssetFileFilter\LesscAssetFileFilter

Visibility Function
public filterAssetFile(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : string

This class extends \AssetsBundle\AssetFile\AssetFileFilter\AbstractAssetFileFilter

This class implements \AssetsBundle\AssetFile\AssetFileFilter\AssetFileFilterInterface, \Zend\Stdlib\ParameterObjectInterface


Class: \AssetsBundle\AssetFile\AssetFileFilter\StyleAssetFileFilter\CssAssetFileFilter

Visibility Function
protected getCSSmin() : \tubalmartin\CssMin\Minifier
protected minifyContent(mixed $sContent)</strong> : string

This class extends \AssetsBundle\AssetFile\AssetFileFilter\AbstractMinifierAssetFileFilter

This class implements \Zend\Stdlib\ParameterObjectInterface, \AssetsBundle\AssetFile\AssetFileFilter\AssetFileFilterInterface


Class: \AssetsBundle\Controller\ToolsController

Visibility Function
public emptyCacheAction() : void
Process empty cache action
public getAssetsBundleToolsService() : \AssetsBundle\Service\ToolsService
public renderAssetsAction() : void
Process render all assets action
public setAssetsBundleToolsService(\AssetsBundle\Service\ToolsService $oAssetsBundleToolsService)</strong> : \AssetsBundle\Controller\ToolsController

This class extends \Zend\Mvc\Controller\AbstractActionController

This class implements \Zend\Stdlib\DispatchableInterface, \Zend\EventManager\EventManagerAwareInterface, \Zend\EventManager\EventsCapableInterface, \Zend\Mvc\InjectApplicationEventInterface


Class: \AssetsBundle\Factory\ToolsControllerFactory

Visibility Function
public createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)</strong> : \AssetsBundle\Controller\ToolsController

This class implements \Zend\ServiceManager\FactoryInterface


Class: \AssetsBundle\Factory\ServiceOptionsFactory

Visibility Function
public createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)</strong> : \AssetsBundle\Service\ServiceOptions

This class implements \Zend\ServiceManager\FactoryInterface


Class: \AssetsBundle\Factory\ToolsServiceFactory

Visibility Function
public createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)</strong> : \AssetsBundle\Service\ToolsService

This class implements \Zend\ServiceManager\FactoryInterface


Class: \AssetsBundle\Factory\ServiceFactory

Visibility Function
public createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)</strong> : \AssetsBundle\Service\Service

This class implements \Zend\ServiceManager\FactoryInterface


Class: \AssetsBundle\Factory\JsCustomStrategyFactory

Visibility Function
public createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)</strong> : \AssetsBundle\View\Strategy\JsCustomStrategy

This class implements \Zend\ServiceManager\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\GifAssetFileFilterFactory

Visibility Function
public createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\GifImageAssetFileFilter

This class implements \Zend\ServiceManager\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\PngAssetFileFilterFactory

Visibility Function
public createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\PngImageAssetFileFilter

This class implements \Zend\ServiceManager\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\JsMinAssetFileFilterFactory

Visibility Function
public createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\JsAssetFileFilter\JsMinAssetFileFilter

This class implements \Zend\ServiceManager\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\LessphpAssetFileFilterFactory

Visibility Function
public createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\LessPhpAssetFileFilter

This class implements \Zend\ServiceManager\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\LesscAssetFileFilterFactory

Visibility Function
public createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\LesscAssetFileFilter

This class implements \Zend\ServiceManager\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\JShrinkAssetFileFilterFactory

Visibility Function
public createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\JsAssetFileFilter\JShrinkAssetFileFilter

This class implements \Zend\ServiceManager\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\CssAssetFileFilterFactory

Visibility Function
public createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\CssAssetFileFilter

This class implements \Zend\ServiceManager\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\JpegAssetFileFilterFactory

Visibility Function
public createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\JpegImageAssetFileFilter

This class implements \Zend\ServiceManager\FactoryInterface


Class: \AssetsBundle\Mvc\Controller\AbstractActionController (abstract)

Visibility Function
public onDispatch(\Zend\Mvc\MvcEvent $oEvent)</strong> : mixed

This class extends \Zend\Mvc\Controller\AbstractActionController

This class implements \Zend\Stdlib\DispatchableInterface, \Zend\EventManager\EventManagerAwareInterface, \Zend\EventManager\EventsCapableInterface, \Zend\Mvc\InjectApplicationEventInterface


Class: \AssetsBundle\Service\Service

Visibility Function
public __construct(\AssetsBundle\Service\ServiceOptions $oOptions=null)</strong> : void
Constructor
public attach(\Zend\EventManager\EventManagerInterface $oEventManager)</strong> : \AssetsBundle\Service\Service
public consoleError(\Zend\Mvc\MvcEvent $oEvent)</strong> : void
Display errors to the console, if an error appends during a ToolsController action
public detach(\Zend\EventManager\EventManagerInterface $oEventManager)</strong> : \AssetsBundle\Service\Service
public getAssetFilesManager() : \AssetsBundle\AssetFile\AssetFilesManager
public getOptions() : \AssetsBundle\Service\ServiceOptions
public renderAssets(\Zend\Mvc\MvcEvent $oEvent)</strong> : \AssetsBundle\Service\Service
Render assets
public setAssetFilesManager(\AssetsBundle\AssetFile\AssetFilesManager $oAssetFilesManager)</strong> : \AssetsBundle\Service\Service
public setOptions(\AssetsBundle\Service\ServiceOptions $oOptions)</strong> : \AssetsBundle\Service\Service
protected displayAssets(array $aAssetFiles)</strong> : \AssetsBundle\Service\Service
Display assets through renderer

This class implements \Zend\EventManager\ListenerAggregateInterface


Class: \AssetsBundle\Service\ServiceOptions

Visibility Function
public allowsRecursiveSearch() : boolean
public getActionName() : string
public getAssetFileBaseUrl(\AssetsBundle\AssetFile\AssetFile $oAssetFile, \AssetsBundle\Service\scalar $iLastModifiedTime=null)</strong> : string
public getAssets() : array
public getAssetsPath() : string
public getBaseUrl() : string
public getCacheFileName() : string
Retrieve cache file name for given module name, controller name and action name
public getCachePath() : string
public getCacheUrl() : string
public getControllerName() : string
public getDirectoriesPermissions() : integer
public getFilesPermissions() : integer
public getLastModifiedTime() : \AssetsBundle\Service\scalable/null
public getMediaExt() : array
public getModuleName() : string
public getProcessedDirPath() : string
public getRealPath(string $sPathToResolve, \AssetsBundle\AssetFile\AssetFile $oAssetFile=null)</strong> : string/boolean
Try to retrieve realpath for a given path (manage @zfRootPath)
public getRenderer() : \Zend\View\Renderer\RendererInterface
public getTmpDirPath() : string
public getViewHelperPluginForAssetFileType(string $sAssetFileType)</strong> : \Zend\View\Helper\HelperInterface
public getViewHelperPlugins() : array
public hasAssetsPath() : boolean
public isAssetsBundleDisabled() : boolean
public isProduction() : boolean
public setActionName(string $sActionName)</strong> : \AssetsBundle\Service\ServiceOptions
public setAssets(array $aAssets)</strong> : \AssetsBundle\Service\ServiceOptions
public setAssetsPath(string/null $sAssetsPath=null)</strong> : \AssetsBundle\Service\ServiceOptions
public setBaseUrl(string $sBaseUrl)</strong> : \AssetsBundle\Service\ServiceOptions
public setCachePath(string $sCachePath)</strong> : \AssetsBundle\Service\ServiceOptions
public setCacheUrl(string $sCacheUrl)</strong> : \AssetsBundle\Service\ServiceOptions
public setControllerName(string $sControllerName)</strong> : \AssetsBundle\Service\ServiceOptions
public setDirectoriesPermissions(integer $iDirectoriesPermissions)</strong> : \AssetsBundle\Service\ServiceOptions
public setDisabledContexts(array $aDisabledContexts)</strong> : \AssetsBundle\Service\ServiceOptions
public setFilesPermissions(integer $iFilesPermissions)</strong> : \AssetsBundle\Service\ServiceOptions
public setLastModifiedTime(\AssetsBundle\Service\scalable/null $sLastModifiedTime=null)</strong> : \AssetsBundle\Service\ServiceOptions
public setMediaExt(array $aMediaExt)</strong> : \AssetsBundle\Service\ServiceOptions
public setModuleName(string $sModuleName)</strong> : \AssetsBundle\Service\ServiceOptions
public setProcessedDirPath(string $sProcessedDirPath)</strong> : \AssetsBundle\Service\ServiceOptions
public setProduction(boolean $bProduction)</strong> : \AssetsBundle\Service\ServiceOptions
public setRecursiveSearch(boolean $bRecursiveSearch)</strong> : \AssetsBundle\Service\ServiceOptions
public setRenderer(\Zend\View\Renderer\RendererInterface $oRenderer)</strong> : \AssetsBundle\Service\ServiceOptions
public setTmpDirPath(string $sTmpDirPath)</strong> : \AssetsBundle\Service\ServiceOptions
public setViewHelperPlugins(array $aViewHelperPlugins)</strong> : \AssetsBundle\Service\ServiceOptions
protected safeFileExists(string $sFilePath)</strong> : boolean
Check if file exists, only search in “open_basedir” path if defined

This class extends \Zend\Stdlib\AbstractOptions

This class implements \Zend\Stdlib\ParameterObjectInterface


Class: \AssetsBundle\Service\ToolsService

Visibility Function
public emptyCache(bool/boolean $bDisplayConsoleMessage=true)</strong> : \AssetsBundle\Service\ToolsService
public getAssetsBundleService() : \AssetsBundle\Service\Service
public getConsole() : \Zend\Console\Adapter\AdapterInterface
public getMvcEvent() : \Zend\Mvc\MvcEvent
public renderAllAssets() : \AssetsBundle\Service\ToolsService
public setAssetsBundleService(\AssetsBundle\Service\Service $oAssetsBundleService)</strong> : \AssetsBundle\Service\ToolsService
public setConsole(\Zend\Console\Adapter\AdapterInterface $oConsole)</strong> : \AssetsBundle\Service\ToolsService
public setMvcEvent(\Zend\Mvc\MvcEvent $oMvcEvent)</strong> : \AssetsBundle\Service\ToolsService

Class: \AssetsBundle\View\Renderer\JsCustomRenderer

Visibility Function
public getEngine() : \AssetsBundle\View\Renderer\JsRenderer
public render(\AssetsBundle\View\Renderer\ViewModel $oViewModel, null/array/\ArrayAccess $aValues=null)</strong> : string
Renders js files contents
public setResolver(\Zend\View\Resolver\ResolverInterface $oResolver)</strong> : \AssetsBundle\View\Renderer\JsRenderer
Set the resolver used to map a template name to a resource the renderer may consume.

This class implements \Zend\View\Renderer\RendererInterface


Class: \AssetsBundle\View\Strategy\JsCustomStrategy

Visibility Function
public attach(\Zend\EventManager\EventManagerInterface $oEvents, int $iPriority=1)</strong> : void
Attach the aggregate to the specified event manager
public detach(\Zend\EventManager\EventManagerInterface $oEvents)</strong> : void
Detach aggregate listeners from the specified event manager
public getRenderer() : \AssetsBundle\View\Renderer\JsCustomRenderer
public getRouter() : mixed
public injectResponse(\Zend\View\ViewEvent $oEvent)</strong> : void
public selectRenderer(\Zend\View\ViewEvent $oEvent)</strong> : void/\AssetsBundle\View\Renderer\JsRenderer
Check if JsCustomStrategy has to be used (MVC action = \AssetsBundle\Mvc\Controller\AbstractActionController::JS_CUSTOM_ACTION)
public setRenderer(\AssetsBundle\View\Renderer\JsCustomRenderer $oRenderer)</strong> : \AssetsBundle\View\Strategy\JsCustomStrategy
public setRouter(\Zend\Mvc\Router\RouteInterface $oRouter)</strong> : void

This class implements \Zend\EventManager\ListenerAggregateInterface