Skip to content

Commit

Permalink
implement __isset() so we can test via empty()
Browse files Browse the repository at this point in the history
  • Loading branch information
pwolanin committed Dec 20, 2010
1 parent 049c41c commit af1164b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/Object.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ public function &__get($name)
{
return $this->_data[$name];
}


public function __isset($name) {
return isset($this->_data[$name]);
}

public function getSoapVar()
{
return new SoapVar(
Expand Down

0 comments on commit af1164b

Please sign in to comment.