public function getUsedLanguages( core_kernel_classes_Resource $resource,  core_kernel_classes_Property $property)
    {
        $returnValue = array();

        
        
    	$sqlQuery = 'SELECT l_language FROM statements WHERE subject = ? AND predicate = ? ';
        $sqlResult = $this->getPersistence()->query($sqlQuery, array (
        	$resource->getUri(),
        	$property->getUri()
        ));
        while ($row = $sqlResult->fetch()) {
            if (!empty($row['l_language'])) {
                $returnValue[] = $row['l_language'];
            }
        }
        
        

        return (array) $returnValue;
    }
public function getUsedLanguages( core_kernel_classes_Resource $resource,  core_kernel_classes_Property $property)
    {
        $returnValue = array();

        
        
    	$sqlQuery = 'SELECT l_language FROM statements WHERE subject = ? AND predicate = ? ';
        $sqlResult = $this->getPersistence()->query($sqlQuery, array (
        	$resource->getUri(),
        	$property->getUri()
        ));
        while ($row = $sqlResult->fetch()) {
            if (!empty($row['l_language'])) {
                $returnValue[] = $row['l_language'];
            }
        }
        
        

        return (array) $returnValue;
    }
public function getUsedLanguages ( core_kernel_classes_Resource $ resource , core_kernel_classes_Property $ property ) { $ returnValue = array ( ) ; $ sqlQuery = 'SELECT l_language FROM statements WHERE subject = ? AND predicate = ? ' ; $ sqlResult = $ this -> getPersistence ( ) -> query ( $ sqlQuery , array ( $ resource -> getUri ( ) , $ property -> getUri ( ) ) ) ; while ( $ row = $ sqlResult -> fetch ( ) ) { if ( ! empty ( $ row [ 'l_language' ] ) ) { $ returnValue [ ] = $ row [ 'l_language' ] ; } } return ( array ) $ returnValue ; }
Short description of method getUsedLanguages

@access public
@author Joel Bout, <joel.bout@tudor.lu>
@param  Resource resource
@param  Property property
@return array
Short description of method getUsedLanguages