Esempio n. 1
0
 /**
  * Gets the solr client options
  * @return CAttributeCollection the client options
  */
 public function getClientOptions()
 {
     if ($this->_clientOptions === null) {
         $clientOptions = new CAttributeCollection();
         $clientOptions->caseSensitive = true;
         if ($this->_client !== null) {
             foreach ($this->_client->getOptions() as $key => $value) {
                 $clientOptions->add($key, $value);
             }
         }
         $this->_clientOptions = $clientOptions;
     }
     return $this->_clientOptions;
 }