PHP 클래스 yii\web\Link

부터: 2.0
저자: Qiang Xue ([email protected])
상속: extends yii\base\Object
파일 보기 프로젝트 열기: yiisoft/yii2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$href a URI RFC3986 or URI template RFC6570. This property is required.
$hreflang the language of the target resource
$name a secondary key for selecting Link Objects which share the same relation type
$profile a URI that hints about the profile of the target resource.
$templated a value indicating whether [[href]] refers to a URI or URI template.
$title a label describing the link
$type a hint to indicate the media type expected when dereferencing the target resource

공개 메소드들

메소드 설명
serialize ( array $links ) : array Serializes a list of links into proper array format.

메소드 상세

serialize() 공개 정적인 메소드

Serializes a list of links into proper array format.
public static serialize ( array $links ) : array
$links array the links to be serialized
리턴 array the proper array representation of the links.

프로퍼티 상세

$href 공개적으로 프로퍼티

a URI RFC3986 or URI template RFC6570. This property is required.
public $href

$hreflang 공개적으로 프로퍼티

the language of the target resource
public $hreflang

$name 공개적으로 프로퍼티

a secondary key for selecting Link Objects which share the same relation type
public $name

$profile 공개적으로 프로퍼티

a URI that hints about the profile of the target resource.
public $profile

$templated 공개적으로 프로퍼티

a value indicating whether [[href]] refers to a URI or URI template.
public $templated

$title 공개적으로 프로퍼티

a label describing the link
public $title

$type 공개적으로 프로퍼티

a hint to indicate the media type expected when dereferencing the target resource
public $type