public function addServerEndPoint(__IServerEndPoint $server_end_point) { $component_id = $server_end_point->getComponent()->getId(); if (key_exists($component_id, $this->_binding_codes)) { $this->_binding_codes[$component_id] = array(); } $server_end_point->getUIBinding; }
/** * Constructor method * * @param __IComponent &$component A reference to the component * @param string $property The property name */ public function __construct(__IServerEndPoint $server_end_point, __IClientEndPoint $client_end_point) { $component_id = $server_end_point->getComponent()->getId(); $client = substr(md5(serialize($client_end_point)), 0, 8); $this->_id = preg_replace('/^c/', 'ep-', $component_id) . '-' . $client; $this->setServerEndPoint($server_end_point); $this->setClientEndPoint($client_end_point); }