/** * Get all available languages of a certain record. * * @param mixed $mixID The ID of the record to retrieve. * * @return LanguageInformationCollectionInterface */ public function getLanguages($mixID) { $collection = new DefaultLanguageInformationCollection(); // FIXME: hardcoded languages "German" and "English". $collection->add(new DefaultLanguageInformation('de', null))->add(new DefaultLanguageInformation('en', null)); return $collection; }
/** * Get all available languages of a certain record. * * @param mixed $mixID The ID of the record to retrieve. * * @return LanguageInformationCollectionInterface * * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function getLanguages($mixID) { $collection = new DefaultLanguageInformationCollection(); $collection->add(new DefaultLanguageInformation('de', null))->add(new DefaultLanguageInformation('en', null)); return $collection; }