Re: Access a private variable?
Re: Access a private variable?
- Subject: Re: Access a private variable?
- From: Sacha Mallais <email@hidden>
- Date: Thu, 14 Jul 2005 15:12:49 -0700
On Jul 14, 2005, at 3:08 PM, Alex Johnson wrote:
Does anyone know if it's possible to access an object's private
variable?
Yes, it is.
Specifically, I want to get at WODisplayGroup._displayedObjects so
I can tell how many objects match the query settings. With batching
turned on, displayedObjects() only returns the current batch of
objects.
WODisplayGroup.allObjects().count();
sacha
--
Sacha Michel Mallais - 800 lb. gorilla
Global Village Consulting Inc.: http://www.global-village.net/
ObAd: read "Practical WebObjects" <fnord>
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden