PHP Класс content, kirby

Наследование: extends Admin_Controller
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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 ( )