C# 클래스 Phun.Templating.PhunPath

Phun implementation for path.
상속: IPath
파일 보기 프로젝트 열기: noogen/phuncms

공개 메소드들

메소드 설명
extname ( string path ) : string

Return the extension of the path, from the last '.' to end of string in the last portion of the path. If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string.

join ( string left, string right ) : string

Join all arguments together and normalize the resulting path.

normalize ( string path ) : string

Normalize a string path, taking care of '..' and '.' parts.

메소드 상세

extname() 공개 메소드

Return the extension of the path, from the last '.' to end of string in the last portion of the path. If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string.
public extname ( string path ) : string
path string The path.
리턴 string

join() 공개 메소드

Join all arguments together and normalize the resulting path.
public join ( string left, string right ) : string
left string The left.
right string The right.
리턴 string

normalize() 공개 메소드

Normalize a string path, taking care of '..' and '.' parts.
public normalize ( string path ) : string
path string The path.
리턴 string