paron my abbrevation ignorance - i figure 'RT' could be realtime - but whats
'RTTI'?
> > > Personally I think this is brittle. If there's good use for it I won't
> > > object but it doesn't have my preference.
> >
> > or a $object->type for instance
> >
> > if i want to add parameters to every object however the
> parameters differ
> > according to the object type such as host, article etc i would do
> >
> > function addparameter($object)
> > {
> > if ($object->type=="host")
> > add some parameter
> > elseif ($object->type=="article")
> > add some other parameter
> > }
>
> There's value in this. But doesn't PHP have some kind of RTTI? Before we
> start
> inventing our own...
>
> Emile
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]