PHP 클래스 Minify_Env, minify

파일 보기 프로젝트 열기: mrclay/minify 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$cookie
$get
$post
$server

공개 메소드들

메소드 설명
__construct ( $options = [] )
cookie ( $key = null, $default = null )
get ( $key = null, $default = null )
getDocRoot ( ) : string
getRequestUri ( ) : string
normalizePath ( string $path ) : string turn windows-style slashes into unix-style, remove trailing slash and lowercase drive letter
post ( $key = null, $default = null )
server ( $key = null )

보호된 메소드들

메소드 설명
computeDocRoot ( array $server ) : string Compute $_SERVER['DOCUMENT_ROOT'] for IIS using SCRIPT_FILENAME and SCRIPT_NAME.

메소드 상세

__construct() 공개 메소드

public __construct ( $options = [] )

computeDocRoot() 보호된 메소드

Compute $_SERVER['DOCUMENT_ROOT'] for IIS using SCRIPT_FILENAME and SCRIPT_NAME.
protected computeDocRoot ( array $server ) : string
$server array
리턴 string

get() 공개 메소드

public get ( $key = null, $default = null )

getDocRoot() 공개 메소드

public getDocRoot ( ) : string
리턴 string

getRequestUri() 공개 메소드

public getRequestUri ( ) : string
리턴 string

normalizePath() 공개 메소드

turn windows-style slashes into unix-style, remove trailing slash and lowercase drive letter
public normalizePath ( string $path ) : string
$path string absolute path
리턴 string

post() 공개 메소드

public post ( $key = null, $default = null )

server() 공개 메소드

public server ( $key = null )

프로퍼티 상세

$get 보호되어 있는 프로퍼티

protected $get

$post 보호되어 있는 프로퍼티

protected $post

$server 보호되어 있는 프로퍼티

protected $server