PHP 클래스 content, kirby

상속: extends Admin_Controller
파일 보기 프로젝트 열기: bastianallgeier/kirby 1 사용 예제들

공개 메소드들

메소드 설명
end ( boolean $return = false ) : mixed Stops the output buffer and flush the content or return it.
load ( string $file, boolean $return = true ) : mixed Loads content from a passed file
start ( ) Starts the output buffer
type ( ) Simplifies setting content type headers

메소드 상세

end() 정적인 공개 메소드

Stops the output buffer and flush the content or return it.
static public end ( boolean $return = false ) : mixed
$return boolean Pass true to return the content instead of flushing it
리턴 mixed

load() 정적인 공개 메소드

Loads content from a passed file
static public load ( string $file, boolean $return = true ) : mixed
$file string The path to the file
$return boolean True: return the content of the file, false: echo the content
리턴 mixed

start() 정적인 공개 메소드

Starts the output buffer
static public start ( )

type() 정적인 공개 메소드

Simplifies setting content type headers
static public type ( )