From e0a2d426f6964fb8af2d6868e1f58b81eea9a9fd Mon Sep 17 00:00:00 2001 From: Davey Shafik Date: Tue, 17 Jun 2003 23:45:58 +0000 Subject: [PATCH] fixed various errors and changed the wording slightly (thanks philip) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132266 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/register-tick-function.xml | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/reference/funchand/functions/register-tick-function.xml b/reference/funchand/functions/register-tick-function.xml index 12f089b68c..e76dc67fe8 100644 --- a/reference/funchand/functions/register-tick-function.xml +++ b/reference/funchand/functions/register-tick-function.xml @@ -1,5 +1,5 @@ - + @@ -19,26 +19,26 @@ Registers the function named by func to be executed when a tick is - called. + called. Also, you may pass an array consisting of an object and a + method as the func. - - You may also pass an array consisting of an object and a method as the func - - - <function>register_tick_function</function> Example - + + + <function>register_tick_function</function> example + method +$object = new my_class(); +register_tick_function(array(&$object, 'my_method'), TRUE); ?> ]]> - - + + +