zf-assets-bundle

AssetsBundle is a module for Zend Framework 3+ allowing asset management (bundling & caching)

View project on GitHub

Table of contents


Class: \AssetsBundle\AssetFile\AssetFilesConfiguration

Visibility Function
public addAssetFile(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : \AssetsBundle\AssetFile\AssetFilesConfiguration
public addAssetFileFromOptions(array $aAssetFileOptions)</strong> : \AssetsBundle\AssetFile\AssetFilesConfiguration
public assetsConfigurationHasChanged(array $aAssetsType=null)</strong> : bool
Check if assets configuration is the same as last saved configuration
public getAssetFileFromFilePath(\AssetsBundle\AssetFile\AssetFile $oAssetFile, \string $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> : bool
public isAssetFileCached(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : bool
public sanitizeAssetFilePath(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : string
public setOptions(\AssetsBundle\Service\ServiceOptions $oOptions)</strong> : \AssetsBundle\AssetFile\AssetFilesCacheManager

Class: \AssetsBundle\AssetFile\AssetFile

Visibility Function
public assetFileContentEquals(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : void
public assetFileExists() : bool
Check if the asset file exists
public static assetFileTypeExists(\string $sAssetFileType)</strong> : bool
Check if asset file’s type is valid
public static getAssetFileCompiledExtension(\string $sAssetFileType)</strong> : string
public getAssetFileContents() : string
public static getAssetFileDefaultExtension(\string $sAssetFileType)</strong> : string
public getAssetFileExtension() : string
public getAssetFileLastModified() : int/null
Retrieve asset file last modified timestamp
public getAssetFilePath() : string
public getAssetFileSize() : int/null
Retrieve asset file size
public getAssetFileType() : string
public isAssetFilePathUrl() : bool
public setAssetFileContents(\string $sAssetFileContents, \bool $bFileAppend=true)</strong> : \AssetsBundle\AssetFile\AssetFile
public setAssetFilePath(\string $sAssetFilePath)</strong> : \AssetsBundle\AssetFile\AssetFile
public setAssetFileType(\string $sAssetFileType)</strong> : \AssetsBundle\AssetFile\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 hasAssetFileFiltersManager() : bool
Check if AssetFileFiltersManager is defined
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 cacheCompiledCssAssetFiles() : array
Cache Less asset files and retrieve cached asset files
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 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 getRegisteredAssetFileFilters() : mixed
public setOptions(\AssetsBundle\Service\ServiceOptions $oOptions)</strong> : \AssetsBundle\AssetFile\AssetFileFiltersManager
public setService(string $sName, mixed $oAssetFileFilter, bool $bShared=true)</strong> : \AssetsBundle\AssetFile\AssetFileFiltersManager
public validate(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\PluginManagerInterface, \Zend\ServiceManager\ServiceLocatorInterface, \Interop\Container\ContainerInterface, \Psr\Container\ContainerInterface


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

Visibility Function
public cacheFilteredAssetFileContent(\AssetsBundle\AssetFile\AssetFile $oAssetFile, \string $sFilteredContent)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\AbstractAssetFileFilter
public filterAssetFile(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : string
public getAssetFileFilterName() : string
public getAssetFileFilterProcessedDirPath() : string
public getCachedFilteredContent(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : bool/string
public getCachedFilteredContentFilePath(\AssetsBundle\AssetFile\AssetFile $oAssetFile)</strong> : string
public getOptions() : \AssetsBundle\Service\ServiceOptions
public setAssetFileFilterName(\string $sAssetFileFilterName)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\AbstractAssetFileFilter
public setOptions(\AssetsBundle\Service\ServiceOptions $oOptions)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\AssetFileFilterInterface
protected abstract filterContent(\string $sContent, \string $sFilePath)</strong> : string

This class extends \Zend\Stdlib\AbstractOptions

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


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\GifAssetFileFilter

Visibility Function
public optimizeImage(\AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\resource $rImage)</strong> : string
protected assetFileShouldBeOptimize(\string $sContent)</strong> : bool

This class extends \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\AbstractImageAssetFileFilter

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


Class: \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\PngAssetFileFilter

Visibility Function
public getImageQuality() : int
public optimizeImage(\AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\resource $rImage)</strong> : string
public setImageQuality(\int $iImageQuality)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\PngAssetFileFilter

This class extends \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\AbstractImageAssetFileFilter

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


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

Visibility Function
protected assetFileShouldBeOptimize(\string $sContent)</strong> : bool
protected filterContent(\string $sContent, \string $sFilePath)</strong> : string
protected abstract optimizeImage(\AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\resource $rImage)</strong> : string

This class extends \AssetsBundle\AssetFile\AssetFileFilter\AbstractAssetFileFilter

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


Class: \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\JpegAssetFileFilter

Visibility Function
public getImageQuality() : int
public optimizeImage(\AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\resource $rImage)</strong> : string
public setImageQuality(\int $iImageQuality)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\JpegAssetFileFilter

This class extends \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\AbstractImageAssetFileFilter

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


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

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

This class extends \AssetsBundle\AssetFile\AssetFileFilter\AbstractAssetFileFilter

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


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

Visibility Function
protected filterContent(\string $sContent, \string $sFilePath)</strong> : string

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

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


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

Visibility Function
protected filterContent(\string $sContent, \string $sFilePath)</strong> : string

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

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


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

Visibility Function
protected filterContent(\string $sContent, \string $sFilePath)</strong> : string
protected getEngine() : \Less_Parser

This class extends \AssetsBundle\AssetFile\AssetFileFilter\AbstractAssetFileFilter

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


Class: \AssetsBundle\AssetFile\AssetFileFilter\StyleAssetFileFilter\ScssAssetFileFilter

Visibility Function
protected filterContent(\string $sContent, \string $sFilePath)</strong> : string
protected getEngine() : \Leafo\ScssPhp\Compiler

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
protected filterContent(\string $sContent, \string $sFilePath)</strong> : string
protected getEngine() : \lessc

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 filterContent(\string $sContent, \string $sFilePath)</strong> : string
protected getEngine() : \tubalmartin\CssMin\Minifier

This class extends \AssetsBundle\AssetFile\AssetFileFilter\AbstractAssetFileFilter

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


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\Console\Controller\AbstractConsoleController

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


Class: \AssetsBundle\Factory\JsCustomRendererFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, mixed $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\View\Renderer\JsCustomRenderer

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\ToolsControllerFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, string $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\Controller\ToolsController

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\ServiceOptionsFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, string $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\Service\ServiceOptions

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\ToolsServiceFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, string $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\Service\ToolsService

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\ServiceFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, string $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\Service\Service

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\JsCustomStrategyFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, mixed $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\View\Strategy\JsCustomStrategy

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\GifAssetFileFilterFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, string $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\GifAssetFileFilter

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\ScssAssetFileFilterFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, string $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\StyleAssetFileFilter\ScssAssetFileFilter

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\PngAssetFileFilterFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, string $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\PngAssetFileFilter

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\JsMinAssetFileFilterFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, string $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\JsAssetFileFilter\JsMinAssetFileFilter

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\LessphpAssetFileFilterFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, string $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\LessPhpAssetFileFilter

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\LesscAssetFileFilterFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, string $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\LesscAssetFileFilter

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\JShrinkAssetFileFilterFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, string $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\JsAssetFileFilter\JShrinkAssetFileFilter

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\CssAssetFileFilterFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, string $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\CssAssetFileFilter

This class implements \Zend\ServiceManager\Factory\FactoryInterface


Class: \AssetsBundle\Factory\AssetFileFilter\JpegAssetFileFilterFactory

Visibility Function
public __invoke(\Interop\Container\ContainerInterface $oServiceLocator, string $sRequestedName, array $aOptions=null)</strong> : \AssetsBundle\AssetFile\AssetFileFilter\ImageAssetFileFilter\JpegAssetFileFilter

This class implements \Zend\ServiceManager\Factory\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, mixed $iPriority=1)</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() : bool
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() : int
public getFilesPermissions() : int
public getLastModifiedTime() : \AssetsBundle\Service\scalar/null
public getMediaExt() : array
public getModuleName() : string
public getProcessedDirPath() : string
public getRealPath(\string $sPathToResolve, \AssetsBundle\AssetFile\AssetFile $oAssetFile=null)</strong> : string/null
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() : bool
public isAssetsBundleDisabled() : bool
public isProduction() : bool
public setActionName(\string $sActionName)</strong> : \AssetsBundle\Service\ServiceOptions
public setAssets(array $aAssets)</strong> : \AssetsBundle\Service\ServiceOptions
public setAssetsPath(\string $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(\int $iDirectoriesPermissions)</strong> : \AssetsBundle\Service\ServiceOptions
public setDisabledContexts(array $aDisabledContexts)</strong> : \AssetsBundle\Service\ServiceOptions
public setFilesPermissions(\int $iFilesPermissions)</strong> : \AssetsBundle\Service\ServiceOptions
public setLastModifiedTime(\AssetsBundle\Service\scalar/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(\bool $bProduction)</strong> : \AssetsBundle\Service\ServiceOptions
public setRecursiveSearch(\bool $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> : bool
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 $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\JsCustomRenderer
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\Router\RouteInterface $oRouter)</strong> : void

This class implements \Zend\EventManager\ListenerAggregateInterface