Changeset 23
- Timestamp:
- Jul 12, 2011, 6:39:33 PM (14 years ago)
- Location:
- php/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
php/trunk/classes/rdfa_Data.php
r22 r23 773 773 * \see rdfa::Projection::set 774 774 * 775 * <strong>NOTE: 776 * - This method is a library specific extension to the RDFa API 777 * - The parameter type is a library specific extension to the RDF API 778 * </strong> 779 */ 780 781 public function setValue( $subject, $property, $value, $type = NULL) { 775 * <strong>NOTE: This method is a library specific extension to the RDF API and RDFa API.</strong> 776 */ 777 778 public function _setValue( $subject, $property, $value, $type = NULL) { 782 779 783 780 $predicate = $property; … … 785 782 786 783 // insert code here 787 } 784 785 } // public function _setValue 788 786 789 787 /**@} */ /***************** DOXYGEN GROUP ENDS - Basic APIs */ -
php/trunk/unittest/rdfa_set/unittest.php
r21 r23 64 64 65 65 // use basic API to write new property value 66 $result = $this->rdfaData-> setValue( $uriPerson, 'foaf:mbox', $uriMailbox, 'URI');66 $result = $this->rdfaData->_setValue( $uriPerson, 'foaf:mbox', $uriMailbox, 'URI'); 67 67 $this->assertEquals( $result, true); 68 68
Note:
See TracChangeset
for help on using the changeset viewer.