Skip to content
Snippets Groups Projects
Commit a921c43b authored by Staratel's avatar Staratel Committed by Chris Leppanen
Browse files

Issue #1742740 by Staratel: Fixed Add magic method __isset() to...

Issue #1742740 by Staratel: Fixed Add magic method __isset() to FeedsConfigurable to use default entity wrapping.
parent 0bc524ce
No related branches found
No related tags found
No related merge requests found
...@@ -75,6 +75,13 @@ abstract class FeedsConfigurable { ...@@ -75,6 +75,13 @@ abstract class FeedsConfigurable {
$this->disabled = FALSE; $this->disabled = FALSE;
} }
/**
* Override magic method __isset(). This is needed due to overriding __get().
*/
public function __isset($name) {
return isset($this->$name) ? TRUE : FALSE;
}
/** /**
* Determine whether this object is persistent and enabled. I. e. it is * Determine whether this object is persistent and enabled. I. e. it is
* defined either in code or in the database and it is enabled. * defined either in code or in the database and it is enabled.
...@@ -129,8 +136,8 @@ abstract class FeedsConfigurable { ...@@ -129,8 +136,8 @@ abstract class FeedsConfigurable {
} }
/** /**
* Override magic method __get(). Make sure that $this->config goes * Override magic method __get(). Make sure that $this->config goes through
* through getConfig() * getConfig().
*/ */
public function __get($name) { public function __get($name) {
if ($name == 'config') { if ($name == 'config') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment