public function createAssetUrl($module = null, $path = null)
    {
        if (is_null($module)) {
            $module = $this->module;
        }

        return sprintf('/%s/%s/%s', self::TEMPLATE_PARAM_MODULES_DIR, $module, self::TEMPLATE_PARAM_ASSETS_DIR) . $path;
    }
public function createAssetUrl($module = null, $path = null)
    {
        if (is_null($module)) {
            $module = $this->module;
        }

        return sprintf('/%s/%s/%s', self::TEMPLATE_PARAM_MODULES_DIR, $module, self::TEMPLATE_PARAM_ASSETS_DIR) . $path;
    }
public function createAssetUrl ( $ module = null , $ path = null ) { if ( is_null ( $ module ) ) { $ module = $ this -> module ; } return sprintf ( '/%s/%s/%s' , self :: TEMPLATE_PARAM_MODULES_DIR , $ module , self :: TEMPLATE_PARAM_ASSETS_DIR ) . $ path ; }
Creates URL for asset

@param string $module
@param string $path Optional path to be appended
@return string
Creates URL for asset