public function UcAddressesSchemaAddress::__isset in Ubercart Addresses 6.2
Same name and namespace in other branches
- 7 class/UcAddressesSchemaAddress.class.php \UcAddressesSchemaAddress::__isset()
Magic method for giving back if property exists or not.
Return value
boolean TRUE if the property exists. FALSE otherwise.
File
- class/
UcAddressesSchemaAddress.class.php, line 213 - Contains the UcAddressesSchemaAddress class.
Class
- UcAddressesSchemaAddress
- The schema address class.
Code
public function __isset($property) {
try {
if (self::fieldExists($property)) {
return TRUE;
}
} catch (UcAddressesUndefinedFunctionException $e) {
// Ignore undefined function exceptions.
}
// Else, fallback to the "real" properties.
return isset($this->{$property});
}