\NetCommonsUrl

NetCommons Utility

Summary

Methods
Properties
Constants
backToPageUrl()
backToIndexUrl()
actionUrl()
actionUrlAsArray()
userActionUrl()
url()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

backToPageUrl()

backToPageUrl(boolean  $settingMode = false, boolean|array  $full = false) : string

ページに戻るURLを生成

Parameters

boolean $settingMode

セッティングモード

boolean|array $full

If (bool) true, the full base URL will be prepended to the result.

Returns

string —

Full translated URL with base path.

backToIndexUrl()

backToIndexUrl(string  $defaultField = 'default_action', boolean|array  $full = false) : string

デフォルトのアクションに戻るURLを生成

Parameters

string $defaultField

Plugin table's default action field. The value is "default_action" or "default_setting_action"

boolean|array $full

If (bool) true, the full base URL will be prepended to the result.

Returns

string —

Full translated URL with base path.

actionUrl()

actionUrl(array  $params = array(), boolean|array  $full = false) : string

NetCommonsプラグインのアクションURLを生成

Parameters

array $params

Action url array

boolean|array $full

If (bool) true, the full base URL will be prepended to the result.

Returns

string —

Full translated URL with base path.

actionUrlAsArray()

actionUrlAsArray(array  $params = array(), boolean|array  $full = false) : array

NetCommonsプラグインのアクションURL配列を生成

Parameters

array $params

Action url array

boolean|array $full

If (bool) true, the full base URL will be prepended to the result.

Returns

array —

Full translated URL with base path as array.

userActionUrl()

userActionUrl(array  $params = array(), boolean|array  $full = false) : string

ユーザのアクションURLを生成

Parameters

array $params

Action url array

boolean|array $full

If (bool) true, the full base URL will be prepended to the result.

Returns

string —

Full translated URL with base path.

url()

url(array  $params = array(), boolean|array  $full = false) : string

URLを生成

Parameters

array $params

Action url array

boolean|array $full

If (bool) true, the full base URL will be prepended to the result.

Returns

string —

Full translated URL with base path.