function test_get_label_capitalizes_single_lowercase_words()
 {
     $lab = new Labeller();
     $this->assertEquals('Easting', $lab->get_label('http://example.org/terms#easting', null, TRUE));
     $this->assertEquals('LCCN', $lab->get_label('http://example.org/terms#LCCN', null, TRUE));
 }
Exemplo n.º 2
0
 /**
  * @param string $resource_uri
  * @param bool $capitalize
  * @param bool $use_qnames
  * @return string
  */
 public function get_inverse_label($resource_uri, $capitalize = false, $use_qnames = FALSE)
 {
     return $this->_labeller->get_inverse_label($resource_uri, $this, $capitalize, $use_qnames);
 }