프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$attributes | array | Link attributes | |
$isActive | boolean | Flag for active state |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$href | string | Explicit href for the link | |
$path | array | Path Information |
메소드 | 설명 | |
---|---|---|
__construct ( array $path = [] ) : void | Creates a hyper link instance | |
__get ( $prop ) : void | Check for a method of the same name if the attribute doesn't exist. | |
active ( ) : Lavary\Menu\Link | Make the anchor active | |
attr ( ) : string | Lavary\Menu\Link | Add attributes to the link | |
href ( $href ) : Lavary\Menu\Link | Set Anchor's href property | |
secure ( ) : Lavary\Menu\Item | Make the url secure |
public __construct ( array $path = [] ) : void | ||
$path | array | |
리턴 | void |
public href ( $href ) : Lavary\Menu\Link | ||
리턴 | Lavary\Menu\Link |