public function classLookUp($identifier, &$createdClasses)
    {
        $targetClass = false;
        foreach ($this->getClassLookUp() as $classLookup) {
            if ($this->hasMetadataValue($identifier)) {
                \common_Logger::i(__('Target Class Lookup for resource "%s"...', $identifier));
                if (($targetClass = $classLookup->lookup($this->getMetadataValue($identifier))) !== false) {
                    \common_Logger::i(__('Class Lookup Successful. Resource "%s" will be stored in RDFS Class "%s".',
                        $identifier, $targetClass->getUri()));

                    if ($classLookup instanceof MetadataClassLookupClassCreator) {
                        $createdClasses = $classLookup->createdClasses();
                    }

                    break;
                }
            }
        }
        return $targetClass;
    }
public function classLookUp($identifier, &$createdClasses)
    {
        $targetClass = false;
        foreach ($this->getClassLookUp() as $classLookup) {
            if ($this->hasMetadataValue($identifier)) {
                \common_Logger::i(__('Target Class Lookup for resource "%s"...', $identifier));
                if (($targetClass = $classLookup->lookup($this->getMetadataValue($identifier))) !== false) {
                    \common_Logger::i(__('Class Lookup Successful. Resource "%s" will be stored in RDFS Class "%s".',
                        $identifier, $targetClass->getUri()));

                    if ($classLookup instanceof MetadataClassLookupClassCreator) {
                        $createdClasses = $classLookup->createdClasses();
                    }

                    break;
                }
            }
        }
        return $targetClass;
    }
public function classLookUp ( $ identifier , & $ createdClasses ) { $ targetClass = false ; foreach ( $ this -> getClassLookUp ( ) as $ classLookup ) { if ( $ this -> hasMetadataValue ( $ identifier ) ) { \ common_Logger :: i ( __ ( 'Target Class Lookup for resource "%s"...' , $ identifier ) ) ; if ( ( $ targetClass = $ classLookup -> lookup ( $ this -> getMetadataValue ( $ identifier ) ) ) !== false ) { \ common_Logger :: i ( __ ( 'Class Lookup Successful. Resource "%s" will be stored in RDFS Class "%s".' , $ identifier , $ targetClass -> getUri ( ) ) ) ; if ( $ classLookup instanceof MetadataClassLookupClassCreator ) { $ createdClasses = $ classLookup -> createdClasses ( ) ; } break ; } } } return $ targetClass ; }
Lookup classes for a metadata identifier at import

Lookup classes for a metadata identifier by calling lookup method of each classLookup
If no lookup has been triggered, false is returned
If a lookup has been triggered, classLookup could apply his own process
Specific should be applied here, like get created classes
CreatedClasses params could be updated

@param $identifier
@param $createdClasses
@return bool
Lookup classes for a metadata identifier at import