Class Assets
Provides a standardized asset strategy
Namespace: Xoops\Core
Package: Assets
Category: Assets
Copyright: 2014-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Richard Griffith richard@geekwright.com
Version: Release: 1.0
Since: 2.6.0
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Assets.php
Package: Assets
Category: Assets
Copyright: 2014-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Richard Griffith richard@geekwright.com
Version: Release: 1.0
Since: 2.6.0
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Assets.php
public
|
|
protected
array
|
|
protected
|
#
saveAssetsPrefs( array $assets_prefs )
saveAssetsPrefs - record array of assets preferences in config file, and update cache |
public
string
|
#
getUrlToAssets( string $type, array $assets, string|array $filters = 'default', string $target = null )
getUrlToAssets |
public
true
|
|
public
boolean
|
#
registerAssetReference( string $name, mixed $assets, string|array $filters = null )
Add an asset reference to the asset manager |
public
mixed
|
#
copyFileAssets( string $from_path, string $pattern, string $output )
copyFileAssets - copy files to the appropriate asset directory. |