note 15813 rejected from function.ob-start by jimw
| From: | jimw@php.net | Date: | Wed, 03 Oct 2001 21:15:22 +0000 |
| Subject: | note 15813 rejected from function.ob-start by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-18540@lists.php.net to get a copy of this message | ||
I'm having trouble trying to use a class method as a callback function
I tried several variations with no luck
ob_start('$this->callback'); //not sure why this doesn't work
ob_start('$this->callback()'); // missing first arg error
ob_start($this->callback); // sustitutes non-existant obj var
ob_start("$this->callback"); // sustitutes non-existant obj var
any ideas ?