[BlueBream] Grabbing portal root without using getSiteManager().__parent__
Marius Gedminas
marius at gedmin.as
Tue Aug 3 02:28:25 EDT 2010
On Sun, Aug 01, 2010 at 06:04:54PM -0700, Jonah Crawford wrote:
> This is such a basic function I'm almost embarrassed to ask, but this is what I've been using.
>
> getSiteManager().__parent__
>
> I'm certain there's a better way; do tell and I'll fold it into docs,
getSite()?
Marius Gedminas
--
PCMCIA - People Can't Memorize Computer Industry Acronyms
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/bluebream/attachments/20100803/86b88b86/attachment.bin
More information about the bluebream
mailing list