Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.
For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email firstname.lastname@example.org.
Exactly right. Look into lib/Varien/Object.php, you will find the magic __call() method that implements set, get, uns (unset) and has. Seems like every class ultimately inherits from Varien_Object.
I was new to PHP and took me a few days to figure that one out… Magento is the best PHP tutorial I could find, short on commented code but rich in concepts and challenges