protected function callClientFunction($func, $value) { $client = $this->getPage()->getCallbackClient(); $code = $this->getClientClassName() . '.' . $func; $client->callClientFunction($code, array($this, $value)); }