Lines Matching refs:this
18 $this->encoding = $enc;
19 $this->chunk_size = $chunk_size;
20 $this->bom = $bom;
21 $this->prologue = !$omit_prologue;
22 $this->tags = array();
27 $this->tags[] = bin2hex($name).": ".implode(', ', $attrs);
36 if ($this->prologue) {
37 $canonical_name = preg_replace('/BE|LE/i', '', $this->encoding);
51 $data = iconv("UTF-8", $this->encoding, $data);
53 if ($this->bom) {
54 switch (strtoupper($this->encoding)) {
101 xml_set_object($parser, $this);
103 if ($this->chunk_size == 0) {
107 $offset += $this->chunk_size) {
108 $success = @xml_parse($parser, substr($data, $offset, $this->chunk_size), false);
118 echo "Encoding: $this->encoding\n";
119 echo "XML Prologue: ".($this->prologue ? 'present': 'not present'), "\n";
120 echo "Chunk size: ".($this->chunk_size ? "$this->chunk_size byte(s)\n": "all data at once\n");
121 echo "BOM: ".($this->bom ? 'prepended': 'not prepended'), "\n";
124 var_dump($this->tags);