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)
コード例 #1
0
ファイル: Resolver.php プロジェクト: raz0rsdge/horde
 /**
  * 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];
 }
コード例 #2
0
ファイル: Base.php プロジェクト: jubinpatel/horde
 /**
  * Return the dependency list for the component.
  *
  * @return Components_Component_DependencyList The dependency list.
  */
 public function getDependencyList()
 {
     return $this->_factory->createDependencyList($this);
 }
コード例 #3
0
ファイル: Dependency.php プロジェクト: horde/horde
 /**
  * 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);
 }