Ignore:
Timestamp:
Jul 12, 2011, 10:56:58 AM (14 years ago)
Author:
cla
Message:

rdfint

  • prefix non-standard methods of rdfa::Data and rdfa::Projection with underscore
  • add note to description of rdfa::SparlEndpoint and rdfa::SparlQuery that they are no-standard as well
File:
1 edited

Legend:

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

    r3 r17  
    2222/**
    2323 *  \class  Data
    24  *  \brief  This class implements a RDF data class as specified in the
    25  *          RDF API and RDFa specs of W3C.
     24 *  \brief  This class implements a RDF data class as described in the
     25 *          RDF API and RDFa API specs of W3C.
    2626 *  \author Christian Langanke
    2727 *  \author Adrian Gschwend
     
    141141    $uriObject    = $this->resolve( $object);
    142142
    143     // resolve may return NULL, then use original value
     143    // resolve method may return NULL, then use original value
    144144    $uriSubject   = ($uriSubject   === NULL) ? $subject   : $uriSubject;
    145145    $uriPredicate = ($uriPredicate === NULL) ? $predicate : $uriPredicate;
     
    360360   * If the prefix is not known then this method will return null.
    361361   *
    362    * \param curie            URI to be mapped to a CURIE
     362   * \param curie            CURIE to be resolved to a URI
    363363   *
    364364   * <strong>NOTE: This method is a library specific extension to the RDF API and RDFa API.</strong>
     
    610610   * <strong>NOTE: This method is a library specific extension to the RDF API and RDFa API.</strong>
    611611   */
    612   public function getUniqueProperties( $subject = Null) {
     612  public function _getUniqueProperties( $subject = Null) {
    613613
    614614    $aTriplesResult = $this->_filterTriples( $subject, Null, Null,
     
    653653
    654654
    655   } // public function getUniqueProperties
     655  } // public function _getUniqueProperties
    656656
    657657  // --------------------------------------------------------
     
    718718   * <strong>NOTE: This method is a library specific extension to the RDF API and RDFa API.</strong>
    719719   */
    720   public function getFirstValue( $subject = Null, $property = Null) {
     720  public function _getFirstValue( $subject = Null, $property = Null) {
    721721
    722722    $predicate = $property;
     
    755755    return $result;
    756756
    757   } // public function getFirstValue
     757  } // public function _getFirstValue
    758758
    759759  /**@} */ /***************** DOXYGEN GROUP ENDS - Basic APIs */
     
    975975   * <strong>NOTE: This method is a library specific extension to the RDF API and RDFa API.</strong>
    976976   */
    977   public function serialize( $type ) {
     977  public function _serialize( $type ) {
    978978    // set the supported types and shortcut them to the ones we use in there
    979979    $validTypes = array( 'application/rdf+xml' => 'rdfxml' ,
     
    10161016    return $ser->getSerializedTriples( $this->aTriples);
    10171017
    1018   } // public function serialize
     1018  } // public function _serialize
    10191019
    10201020} // class Data
Note: See TracChangeset for help on using the changeset viewer.