Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
81338879
Commit
81338879
authored
Feb 23, 2011
by
Bas de Nooijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added option forwarding to adapter instances
parent
8ad5ce2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
library/Solarium/Client.php
library/Solarium/Client.php
+3
-0
No files found.
library/Solarium/Client.php
View file @
81338879
...
...
@@ -229,6 +229,9 @@ class Solarium_Client extends Solarium_Configurable
$this
->
_adapter
=
null
;
return
$this
->
_setOption
(
'adapter'
,
$adapter
);
}
else
{
// forward options
$adapter
->
setOptions
(
$this
->
_options
);
// overwrite existing adapter
$this
->
_adapter
=
$adapter
;
return
$this
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment