Lines Matching refs:writer
14 protected $writer; variable in Solr_AddDocument
16 public function __construct(XMLWriter $writer){ argument
17 $this->writer = $writer;
21 $this->writer->startDocument();
22 $this->writer->startElement('add');
24 $this->writer->writeAttribute('commitWithin', $commitWithin);
29 $this->writer->endElement();
33 $writer = $this->writer;
34 $writer->startElement("doc");
45 $writer->endElement();
49 return $this->writer;
53 $this->writer->startElement("field");
54 $this->writer->writeAttribute('name', $name);
55 $this->writer->text($content);
56 $this->writer->endElement();