PHP 클래스 Tools\View\Helper\UrlHelper

상속: extends Cake\View\Helper\UrlHelper
파일 보기 프로젝트 열기: dereuromark/cakephp-tools 1 사용 예제들

공개 메소드들

메소드 설명
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