EventBuffer::prepend
(PECL event >= 1.2.6-beta)
EventBuffer::prepend — Prepend data to the front of the buffer
Descripción
public
bool
EventBuffer::prepend
(
string
$data
)Prepend data to the front of the buffer.
Parámetros
-
data -
String to be prepended to the front of the buffer.
Valores devueltos
Returns TRUE on success. Otherwise FALSE.
Ver también
- EventBuffer::prependBuffer() - Moves all data from source buffer to the front of current buffer
- EventBuffer::add() - Añade datos al final de un buffer de eventos
- EventBuffer::addBuffer() - Mueve todos los datos de un buffer a la instancia actual de EventBuffer