Changeset 17 for php/trunk/classes/rdfa_Data.php
- Timestamp:
- Jul 12, 2011, 10:56:58 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
php/trunk/classes/rdfa_Data.php
r3 r17 22 22 /** 23 23 * \class Data 24 * \brief This class implements a RDF data class as specified in the25 * 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. 26 26 * \author Christian Langanke 27 27 * \author Adrian Gschwend … … 141 141 $uriObject = $this->resolve( $object); 142 142 143 // resolve m ay return NULL, then use original value143 // resolve method may return NULL, then use original value 144 144 $uriSubject = ($uriSubject === NULL) ? $subject : $uriSubject; 145 145 $uriPredicate = ($uriPredicate === NULL) ? $predicate : $uriPredicate; … … 360 360 * If the prefix is not known then this method will return null. 361 361 * 362 * \param curie URI to be mapped to a CURIE362 * \param curie CURIE to be resolved to a URI 363 363 * 364 364 * <strong>NOTE: This method is a library specific extension to the RDF API and RDFa API.</strong> … … 610 610 * <strong>NOTE: This method is a library specific extension to the RDF API and RDFa API.</strong> 611 611 */ 612 public function getUniqueProperties( $subject = Null) {612 public function _getUniqueProperties( $subject = Null) { 613 613 614 614 $aTriplesResult = $this->_filterTriples( $subject, Null, Null, … … 653 653 654 654 655 } // public function getUniqueProperties655 } // public function _getUniqueProperties 656 656 657 657 // -------------------------------------------------------- … … 718 718 * <strong>NOTE: This method is a library specific extension to the RDF API and RDFa API.</strong> 719 719 */ 720 public function getFirstValue( $subject = Null, $property = Null) {720 public function _getFirstValue( $subject = Null, $property = Null) { 721 721 722 722 $predicate = $property; … … 755 755 return $result; 756 756 757 } // public function getFirstValue757 } // public function _getFirstValue 758 758 759 759 /**@} */ /***************** DOXYGEN GROUP ENDS - Basic APIs */ … … 975 975 * <strong>NOTE: This method is a library specific extension to the RDF API and RDFa API.</strong> 976 976 */ 977 public function serialize( $type ) {977 public function _serialize( $type ) { 978 978 // set the supported types and shortcut them to the ones we use in there 979 979 $validTypes = array( 'application/rdf+xml' => 'rdfxml' , … … 1016 1016 return $ser->getSerializedTriples( $this->aTriples); 1017 1017 1018 } // public function serialize1018 } // public function _serialize 1019 1019 1020 1020 } // class Data
Note:
See TracChangeset
for help on using the changeset viewer.