Class Urls

Namespace: Concrete\Core\Application\Service
Package: Helpers
Category: Concrete
Copyright: Copyright (c) 2003-2008 Concrete5. (
License: MIT License
Author: Andrew Embler
Located at src/Application/Service/Urls.php

Methods summary

public string
# getPackageIconURL( Package $pkg )

Gets a full URL to an icon for a particular application

public mixed
# getPackageURL( Package $pkg )

Get the package's URL

public string
# getToolsURL( string $tool, string $pkgHandle = null )
public string
# getBlockTypeIconURL( BlockType $bt )

Gets a full URL to an icon for a particular block type

public string
# getBlockTypeAssetsURL( BlockType $bt, boolean|string $file = false )

Gets a full URL to the directory containing all of a block's items, including JavaScript, tools, icons, etc...

public string
# getBlockTypeJavaScriptURL( BlockType $bt )

Gets a full URL to a block's JavaScript file (if one exists)

public string
# getBlockTypeToolsURL( BlockType $bt )