[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/phpbb/template/ -> asset.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 203 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

asset:: (8 methods):
  __construct()
  set_url()
  join_url()
  get_url()
  is_relative()
  get_path()
  set_path()
  add_assets_version()


Class: asset  - X-Ref

__construct($url, \phpbb\path_helper $path_helper, \phpbb\filesystem\filesystem $filesystem)   X-Ref
Constructor

param: string $url URL
param: \phpbb\path_helper $path_helper Path helper object
param: \phpbb\filesystem\filesystem $filesystem

set_url($url)   X-Ref
Set URL

param: string $url URL

join_url($components)   X-Ref
Convert URL components into string

param: array $components URL components
return: string URL

get_url()   X-Ref
Get URL

return: string URL

is_relative()   X-Ref
Checks if URL is local and relative

return: boolean True if URL is local and relative

get_path()   X-Ref
Get path component of current URL

return: string Path

set_path($path, $urlencode = false)   X-Ref
Set path component

param: string $path Path component
param: boolean $urlencode If true, parts of path should be encoded with rawurlencode()

add_assets_version($version)   X-Ref
Add assets_version parameter to URL.
Parameter will not be added if assets_version already exists in URL

param: string $version Version



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1