PHP 클래스 Yosymfony\Spress\Core\Plugin\Event\RenderEvent

Used with events: "spress.before_render_blocks", "spress.after_render_blocks", "spress.before_render_page", "spress.after_render_page".
저자: Victor Puertas ([email protected])
상속: extends ContentEvent
파일 보기 프로젝트 열기: spress/spress 1 사용 예제들

공개 메소드들

메소드 설명
getRelativeUrl ( ) : string Gets the relative URL (only path component) of the item.
setRelativeUrl ( string $url ) Sets the relative URL (only path component) of the item.

보호된 메소드들

메소드 설명
getPathFromUrl ( string $relativeUrl ) : string Gets a path from a relative URL.
prepareUrl ( string $url ) : string Prepare a URL.

메소드 상세

getPathFromUrl() 보호된 메소드

Gets a path from a relative URL.
protected getPathFromUrl ( string $relativeUrl ) : string
$relativeUrl string Relative URL. e.g: /index.html
리턴 string

getRelativeUrl() 공개 메소드

Gets the relative URL (only path component) of the item.
public getRelativeUrl ( ) : string
리턴 string

prepareUrl() 보호된 메소드

Prepare a URL.
protected prepareUrl ( string $url ) : string
$url string The relative URL
리턴 string

setRelativeUrl() 공개 메소드

Sets the relative URL (only path component) of the item.
public setRelativeUrl ( string $url )
$url string The relative URL. e.g: /about/me/index.html