/**
  * @see parent::getSpecs()
  */
 function getSpecs()
 {
     $ex_class_id = $this->getClassId();
     $this->_class = get_class($this) . "_{$ex_class_id}";
     if ($this->_id && isset(self::$_ex_specs[$ex_class_id])) {
         return self::$_ex_specs[$ex_class_id];
     }
     $specs = @parent::getSpecs();
     // sometimes there is "list|"
     foreach ($specs as $_field => $_spec) {
         if ($_spec instanceof CEnumSpec) {
             foreach ($_spec->_locales as $key => $locale) {
                 $specs[$_field]->_locales[$key] = CAppUI::tr("{$this->_class}.{$_field}.{$key}");
             }
         }
     }
     if ($ex_class_id) {
         self::$_ex_specs[$ex_class_id] = $specs;
     }
     return $specs;
 }