/**
  * Constructor
  *
  * @return	@e void
  */
 public function __construct()
 {
     /* Fetch registry like a good boy */
     $this->registry = ipsRegistry::instance();
     $this->DB = $this->registry->DB();
     $this->settings =& $this->registry->fetchSettings();
     $this->request =& $this->registry->fetchRequest();
     $this->lang = $this->registry->getClass('class_localization');
     $this->member = $this->registry->member();
     $this->memberData =& $this->registry->member()->fetchMemberData();
     $this->cache = $this->registry->cache();
     $this->caches =& $this->registry->cache()->fetchCaches();
     $this->_app = classes_like_registry::getApp();
     $this->_area = classes_like_registry::getArea();
     if (empty($this->_app) or empty($this->_area)) {
         trigger_error("Missing area or app variable in " . __CLASS__ . '::' . __FUNCTION__, E_USER_WARNING);
     }
 }