Ignore:
Timestamp:
Jul 15, 2011, 3:02:18 PM (14 years ago)
Author:
cla
Message:

rdfint

  • removed obsolete output
File:
1 edited

Legend:

Unmodified
Added
Removed
  • php/trunk/classes/rdfa_Data.php

    r35 r36  
    823823    $uriPredicate = ($uriPredicate === NULL) ? $predicate : $uriPredicate;
    824824    $uriObject    = ($uriObject    === NULL) ? $object    : $uriObject;
    825    
     825
    826826    // check what type we have
    827827    // This is not clear in the API. It could be interpreted that the only acceptable value is a literal
     
    838838    if (!preg_match('#^(uri|bnode|literal)$#', strtolower($type)))
    839839      return false;
    840    
     840
    841841    // construct the aTriple array
    842842    $aTriple = array();
     
    848848    $aTriple['p_type'] = 'uri';
    849849    $aTriple['o_type'] = strtolower($type);
    850    
     850
    851851    $aTriple['o_datatype'] = ''; // data types, currently not supported by the API
    852852    $aTriple['o_lang'] = ''; // language, same same
    853853
    854    
     854
    855855    $this->_addTriple( $aTriple);
    856    
     856
    857857    return true;
    858858
     
    890890    $fLogMessages = (!$this->_calledFromOwnCode());
    891891    if (! $this->_subjectExists( $subject)) {
    892 echo "### no subject \n";
    893892      if ($fLogMessages) $this->debugger->sendMessage( "Cannot get projection for subject: $subject",
    894893                                                  self::debugcontext);
Note: See TracChangeset for help on using the changeset viewer.