Connection Refference
I am creating a product which has classes that override the Folder class so that my class controls access to some folders that it creates. From within the Folder class, specificially when the _setOb, _getOb and _delOb methods are called, is there a way to get access to the connection object/reference to the user that is making changes to the folders? I know there is the RESPONSE object for the product constructors, but I need a way to get to it from within the Folder class. -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup
On Thu, 2003-03-27 at 16:17, Matt Ficken wrote: [...]
specificially when the _setOb, _getOb and _delOb methods are called, is there a way to get access to the connection object/reference to the user that is making changes to the folders? I know there is the RESPONSE object for the product constructors, but I need a way to get to it from within the Folder class.
If I understand you correctly, you probably want "self.REQUEST.RESPONSE", assuming self is the folder in question. But I don't think it is really apropriate to fiddle with the RESPONSE object from those methods. What are you trying to achieve? Cheers, Leo -- Ideas don't stay in some minds very long because they don't like solitary confinement.
participants (2)
-
Leonardo Rochael Almeida -
Matt Ficken