SunshinePHP Developer Conference 2015

Yaf_Response_Abstract::response

(Yaf >=1.0.0)

Yaf_Response_Abstract::responsesend response

Descrição

public void Yaf_Response_Abstract::response ( void )

send response

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

Exemplos

Exemplo #1 Yaf_Response_Abstract::response()example

<?php
$response 
= new Yaf_Response_Http();

$response->setBody("Hello")->setBody(" World""footer");

$response->response();
?>

O exemplo acima irá imprimir algo similar à:

Hello World

Veja Também

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top