\LinkButtonHelper

LinkButton Helper

Summary

Methods
Properties
Constants
add()
edit()
search()
sort()
$helpers
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$helpers

$helpers : array

Other helpers used by FormHelper

Type

array

Methods

add()

add(string  $title = '', mixed  $url = null, array  $options = array()) : string

Creates a `<a>` tag for add link. The type attribute defaults

Parameters

string $title

The button's caption. Not automatically HTML encoded

mixed $url

Link url

array $options

Array of options and HTML attributes.

Returns

string —

A HTML button tag.

edit()

edit(string  $title = '', mixed  $url = null, array  $options = array()) : string

Creates a `<a>` tag for edit link link. The type attribute defaults

Parameters

string $title

The button's caption. Not automatically HTML encoded

mixed $url

Link url

array $options

Array of options and HTML attributes.

Returns

string —

A HTML button tag.

search()

search(string  $title = '', mixed  $url = null, array  $options = array()) : string

検索ボタンHTMLの出力

Parameters

string $title

タイトル

mixed $url

URL

array $options

HTML属性オプション

Returns

string —

HTMLタグ

sort()

sort(string  $title = '', mixed  $url = null, array  $options = array()) : string

ソートボタンHTMLの出力

Parameters

string $title

タイトル

mixed $url

URL

array $options

HTML属性オプション

Returns

string —

HTMLタグ