PHP Class content, kirby

Inheritance: extends Admin_Controller
Afficher le fichier Open project: bastianallgeier/kirby Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

end() static public méthode

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
Résultat mixed

load() static public méthode

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
Résultat mixed

start() static public méthode

Starts the output buffer
static public start ( )

type() static public méthode

Simplifies setting content type headers
static public type ( )