From 8af4dcf9282c4e566fb6bf4d74ea49cdfe01bc6c Mon Sep 17 00:00:00 2001 From: Davey Shafik Date: Tue, 17 Jun 2003 23:02:06 +0000 Subject: [PATCH] added example and documentated using an object->method as the callback git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132263 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/register-tick-function.xml | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/reference/funchand/functions/register-tick-function.xml b/reference/funchand/functions/register-tick-function.xml index 7b50f8b555..12f089b68c 100644 --- a/reference/funchand/functions/register-tick-function.xml +++ b/reference/funchand/functions/register-tick-function.xml @@ -1,5 +1,5 @@ - + @@ -19,7 +19,26 @@ Registers the function named by func to be executed when a tick is - called. + called. + + + You may also pass an array consisting of an object and a method as the func + + + <function>register_tick_function</function> Example + + +]]> + +