public function __get($api) { if (in_array($api, $this->listAPIs())) { return new Horde_Registry_Caller($this, $api); } }