Urls
class Urls (View source)
\@package Helpers
Methods
Gets a full URL to an icon for a particular application.
Get the package's URL.
Gets a full URL to the directory containing all of a block's items, including JavaScript, tools, icons, etc.
Gets a full URL to a block's JavaScript file (if one exists).
Details
string
getPackageIconURL(Package $pkg)
Gets a full URL to an icon for a particular application.
mixed
getPackageURL(Package $pkg)
Get the package's URL.
string
getToolsURL(string $tool, string $pkgHandle = null)
deprecated
deprecated
No description
string
getBlockTypeIconURL(BlockType $bt)
Gets a full URL to an icon for a particular block type.
string
getBlockTypeAssetsURL(BlockType $bt, bool|string $file = false)
Gets a full URL to the directory containing all of a block's items, including JavaScript, tools, icons, etc.
..
string
getBlockTypeJavaScriptURL(BlockType $bt)
Gets a full URL to a block's JavaScript file (if one exists).
string
getBlockTypeToolsURL(BlockType $bt)
deprecated
deprecated
No description