Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Gunnar Wrobel (wrobel@pardus.de)
Esempio n. 1
0
 /**
  * Get a remote PEAR server handler for a specific channel.
  *
  * @param string $channel The channel name.
  *
  * @return Horde_Pear_Remote The remote handler.
  */
 private function _getRemote($channel)
 {
     if (!isset($this->_remotes[$channel])) {
         $this->_remotes[$channel] = $this->_factory->createRemoteChannel($channel);
     }
     return $this->_remotes[$channel];
 }
Esempio n. 2
0
 /**
  * Return the dependency list for the component.
  *
  * @return Components_Component_DependencyList The dependency list.
  */
 public function getDependencyList()
 {
     return $this->_factory->createDependencyList($this);
 }
Esempio n. 3
0
 /**
  * Return the dependency in its component representation.
  *
  * @param array $options The options for resolving the component.
  *
  * @return Component_Component The component.
  */
 public function getComponent($options = array())
 {
     return $this->_factory->createResolver()->resolveDependency($this, $options);
 }