function isValid($value)
 {
     $items = $this->langDataSource->getDomainsData();
     for ($i = 0; $i < count($items); $i++) {
         $item =& $items[$i];
         if ((string) $value === (string) $item->getID()) {
             return true;
         }
     }
     return false;
 }
Example #2
0
 function exportLanguage($lang_id)
 {
     return $this->data_source->exportLanguage($lang_id);
 }