• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Access a private variable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Access a private variable?
      • From: Alex Johnson <email@hidden>
References: 
 >Access a private variable? (From: Alex Johnson <email@hidden>)

  • Prev by Date: Access a private variable?
  • Next by Date: Re: Access a private variable?
  • Previous by thread: Access a private variable?
  • Next by thread: Re: Access a private variable?
  • Index(es):
    • Date
    • Thread