function CacheSpaces() { if (!$this->arrays['spaces']) { $this->arrays['spaces'] = parent::GetSpaces(); } }