PHP Класс Tools\View\Helper\UrlHelper

Наследование: extends Cake\View\Helper\UrlHelper
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
buildComplete ( string | array | null $url = null, boolean $full = false ) : string Returns a URL based on provided parameters.
buildReset ( string | array | null $url = null, boolean $full = false ) : string Creates a reset URL.
completeArray ( array $url ) : array
defaults ( ) : array
resetArray ( array $url ) : array

Защищенные методы

Метод Описание
addQueryStrings ( array $url ) : array

Описание методов

addQueryStrings() защищенный Метод

protected addQueryStrings ( array $url ) : array
$url array
Результат array

buildComplete() публичный Метод

Can only add query strings for array URLs.
public buildComplete ( string | array | null $url = null, boolean $full = false ) : string
$url string | array | null URL.
$full boolean If true, the full base URL will be prepended to the result
Результат string Full translated URL with base path.

buildReset() публичный Метод

The prefix and plugin params are resetting to default false. Can only add defaults for array URLs.
public buildReset ( string | array | null $url = null, boolean $full = false ) : string
$url string | array | null URL.
$full boolean If true, the full base URL will be prepended to the result
Результат string Full translated URL with base path.

completeArray() публичный Метод

public completeArray ( array $url ) : array
$url array
Результат array

defaults() публичный Метод

public defaults ( ) : array
Результат array

resetArray() публичный Метод

public resetArray ( array $url ) : array
$url array
Результат array