Name = $name; $this->Label = Locale::getDisplayLanguage($this->Name); } public static function __compare(LanguageDTO $l1, LanguageDTO $l2) { return strcmp($l1->Name, $l2->Name); } } ?>