[nycphp-talk] Trouble with Array of Objects
Christopher R. Merlo
cmerlo at turing.matcmp.ncc.edu
Tue May 27 17:19:23 EDT 2003
On 2003-05-27 17:15 -0400, Malcolm, Gary <gmalcolm at professionalcredit.com> wrote:
> if( !is_null( $day_row[ 'start' ] ) ) seems to be the most likely
> candidate for the problem...
No, all that does is eliminate creating empty objects for Saturday and
Sunday. (I know, it's a hack.)
> where do you call toString()?
Last line of Meeting's constructor.
> class Meeting {
>
> [ etc... ]
>
> print "<p>" . $this->toString( ) . "</p>\
";
> }
--
cmerlo at turing.matcmp.ncc.edu http://turing.matcmp.ncc.edu/~cmerlo
We're sorry, but the number you have dialed is imaginary. Please
rotate your phone ninety degrees and try again. Thank you.
More information about the talk
mailing list
Automatic Email Organization without missing anything!