function getPName($v, $connector = ':')
 {
     if ($this->default_ns && strpos($v, $this->default_ns) === 0) {
         return substr($v, strlen($this->default_ns));
     }
     return parent::getPName($v, $connector);
 }
Esempio n. 2
0
 function getPName($v, $connector = ':')
 {
     if ($this->default_ns && strpos($v, $this->default_ns) === 0) {
         $pname = substr($v, strlen($this->default_ns));
         if (!preg_match('/\\//', $pname)) {
             return $pname;
         }
     }
     return parent::getPName($v, $connector);
 }
 function __init()
 {
     parent::__init();
     $this->content_header = 'application/json';
 }
 function __init()
 {
     parent::__init();
     $this->content_header = 'text/html';
 }
 function __init()
 {
     parent::__init();
     $this->esc_chars = array();
     $this->raw = 0;
 }
 function __init()
 {
     parent::__init();
     $this->content_header = 'application/x-turtle';
 }
Esempio n. 7
0
 function __init()
 {
     parent::__init();
     $this->content_header = 'text/turtle';
 }
 function __init()
 {
     parent::__init();
 }
Esempio n. 9
0
 function __init()
 {
     parent::__init();
     $this->content_header = 'application/rdf+xml';
     $this->pp_containers = $this->v('serializer_prettyprint_containers', 0, $this->a);
 }
 function __init()
 {
     parent::__init();
     $this->content_header = 'text/html';
     $this->label_store = $this->v('label_store', '', $this->a);
 }
 function __init()
 {
     parent::__init();
     $this->content_header = 'application/rdf+xml';
 }