private function propertiesValuestoStdClasses($propertiesValues = null)
    {
        $returnValue =array();
        foreach ($propertiesValues as $uri => $values) {
            $propStdClass = new stdClass;
            $propStdClass->predicateUri = $uri;
            foreach ($values as $value){
                $stdValue = new stdClass;
                $stdValue->valueType = (get_class($value)=="core_kernel_classes_Literal") ? "literal" : "resource";
                $stdValue->value = (get_class($value)=="core_kernel_classes_Literal") ? $value->__toString() : $value->getUri();
                $propStdClass->values[]= $stdValue;
            }
            $returnValue[]=$propStdClass;
        }
        return $returnValue;
    }
private function propertiesValuestoStdClasses($propertiesValues = null)
    {
        $returnValue =array();
        foreach ($propertiesValues as $uri => $values) {
            $propStdClass = new stdClass;
            $propStdClass->predicateUri = $uri;
            foreach ($values as $value){
                $stdValue = new stdClass;
                $stdValue->valueType = (get_class($value)=="core_kernel_classes_Literal") ? "literal" : "resource";
                $stdValue->value = (get_class($value)=="core_kernel_classes_Literal") ? $value->__toString() : $value->getUri();
                $propStdClass->values[]= $stdValue;
            }
            $returnValue[]=$propStdClass;
        }
        return $returnValue;
    }
private function propertiesValuestoStdClasses ( $ propertiesValues = null ) { $ returnValue = array ( ) ; foreach ( $ propertiesValues as $ uri => $ values ) { $ propStdClass = new stdClass ; $ propStdClass -> predicateUri = $ uri ; foreach ( $ values as $ value ) { $ stdValue = new stdClass ; $ stdValue -> valueType = ( get_class ( $ value ) == "core_kernel_classes_Literal" ) ? "literal" : "resource" ; $ stdValue -> value = ( get_class ( $ value ) == "core_kernel_classes_Literal" ) ? $ value -> __toString ( ) : $ value -> getUri ( ) ; $ propStdClass -> values [ ] = $ stdValue ; } $ returnValue [ ] = $ propStdClass ; } return $ returnValue ; }
small helper provide more convenient data structure for propertiesValues for exchange
@return array
small helper provide more convenient data structure for propertiesValues for exchange