Scriptindex.de

[ Menü ]

Home
News
Scripts
Neuzugänge
Suchen
Bücher
Manuals

[ Inhalt ]

Script eintragen
Tutorial eintragen
Newsletter
Umfragen
Link zu uns
Werbung bei uns
Kontakt
Impressum

[ Statistik ]

Hits gesamt: 5203762
Hits Heute: 419
max. Hits (10.07.07): 6964
User Online: 24
Scripts: 2828

[ Partner ]

CodeBase
I.S.U.M.
LUG Bayreuth
PEAR NEWS
PHP Classes

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

PHP 4 - M+T Easy . leicht, klar, sofort
PHP 4 - M+T Easy . leicht, klar, sofort

Manuals > PHP > register_tick_function

register_tick_function

(PHP 4 >= 4.0.3)

register_tick_function --  Register a function for execution on each tick

Description

void register_tick_function ( callback function [, mixed arg])

Registers the function named by func to be executed when a tick is called. Also, you may pass an array consisting of an object and a method as the func.

Beispiel 1. register_tick_function() example

<?php
// using a function as the callback
register_tick_function('my_function', TRUE);

// using an object->method
$object = new my_class();
register_tick_function(array(&$object, 'my_method'), TRUE);
?>

See also declare() and unregister_tick_function().


Copyright 1998 - 2009 by I.S.U.M.