This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class ConcreteUrlsHelper

Package: Helpers
Copyright: Copyright (c) 2003-2008 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at helpers/concrete/urls.php

Methods summary

public
# getPackageIconURL( $pkg )

Gets a full URL to an icon for a particular application

public
# getPackageURL( $pkg )
public
# getToolsURL( $tool, $pkgHandle = null )

Gets a URL to reference a script in the tools directory

public string
# getBlockTypeIconURL( BlockType $bt )

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

public string
# getBlockTypeAssetsURL( BlockType $bt, $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 )

Gets a full URL to a block's tools directory