Changeset View
Changeset View
Standalone View
Standalone View
lib/ext/Syncroton/Registry.php
Show First 20 Lines • Show All 520 Lines • ▼ Show 20 Lines | class Syncroton_Registry extends ArrayObject | ||||
/** | /** | ||||
* @param string $index | * @param string $index | ||||
* @returns mixed | * @returns mixed | ||||
* | * | ||||
* Workaround for http://bugs.php.net/bug.php?id=40442 (ZF-960). | * Workaround for http://bugs.php.net/bug.php?id=40442 (ZF-960). | ||||
*/ | */ | ||||
public function offsetExists($index) | public function offsetExists($index) | ||||
{ | { | ||||
return array_key_exists($index, $this); | return property_exists($index, $this); | ||||
} | } | ||||
} | } |