프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_href | string | Applications which use HAL MAY clarify the integrity of specific embedded content via the description of the relevant @rel value. - As a link: This attribute MAY contain a URI template. Whether or not this is the case SHOULD be indicated to clients by the @rel value. | |
$_hreflang | string | For indicating what the language of the result of dereferencing the link should be. | |
$_name | string | For distinguishing between Resource and Link elements that share the same @rel value. The @name attribute SHOULD NOT be used exclusively for identifying elements within a HAL representation, it is intended only as a 'secondary key' to a given @rel value. | |
$_rel | string | The Subject Resource is the closest parent Resource element. | |
$_templated | boolean | Whether this link is "templated" | |
$_title | string | For labeling the destination of a link with a human-readable identifier. |
메소드 | 설명 | |
---|---|---|
__construct ( string $href, string $rel = 'self', string $title = null, string $name = null, string $hreflang = null, boolean $templated = false ) | ||
getHref ( ) : string | ||
getHreflang ( ) : string | ||
getName ( ) : string | ||
getRel ( ) : string | ||
getTemplated ( ) : boolean | ||
getTitle ( ) : string | ||
setHref ( string $href ) : |
||
setHreflang ( string $hreflang ) : |
||
setName ( string $name ) : |
||
setRel ( string $rel ) : |
||
setTemplated ( boolean $templated ) : |
||
setTitle ( string $title ) : |
||
toArray ( ) : array |
protected string $_href | ||
리턴 | string |
protected string $_hreflang | ||
리턴 | string |
protected string $_name | ||
리턴 | string |
protected string $_rel | ||
리턴 | string |
protected string $_title | ||
리턴 | string |