public function getModeNice() { if ($this->Mode == 'all') { return 'database and assets'; } else { return $this->Mode; } }