m_option =& new ExecPhp_Option(); } // --------------------------------------------------------------------------- // access // --------------------------------------------------------------------------- function uninstall() { $this->m_option->uninstall(); $wp_user_search = new WP_User_Search(); foreach ($wp_user_search->get_results() as $userid) { $this->get_usermeta($userid)->uninstall(); } } function &get_option() { return $this->m_option; } function &get_usermeta($user_id) { if (!isset($this->m_usermetas[$user_id])) // this will generate warnings with error_reporting(E_STRICT) using PHP5 // see http://www.php.net/manual/en/language.references.whatdo.php $this->m_usermetas[$user_id] =& new ExecPhp_UserMeta($user_id); return $this->m_usermetas[$user_id]; } } endif; ?>