__construct() 공개 메소드

Constructor.
public __construct ( Components_Config $config, Components_Component_Factory $factory )
$config Components_Config The configuration for the current job.
$factory Components_Component_Factory Generator for additional helpers.
예제 #1
0
파일: Remote.php 프로젝트: jubinpatel/horde
 /**
  * Constructor.
  *
  * @param string                  $name      Component name.
  * @param string                  $stability Component stability.
  * @param string                  $channel   Component channel.
  * @param Horde_Pear_Remote       $remote    Remote channel handler.
  * @param Horde_Http_Client       $client    The HTTP client for remote
  *                                           access.
  * @param Components_Config       $config    The configuration for the
  *                                           current job.
  * @param Components_Component_Factory $factory Generator for additional
  *                                              helpers.
  */
 public function __construct($name, $stability, $channel, Horde_Pear_Remote $remote, Horde_Http_Client $client, Components_Config $config, Components_Component_Factory $factory)
 {
     $this->_name = $name;
     $this->_stability = $stability;
     $this->_channel = $channel;
     $this->_remote = $remote;
     $this->_client = $client;
     parent::__construct($config, $factory);
 }
예제 #2
0
파일: Archive.php 프로젝트: raz0rsdge/horde
 /**
  * Constructor.
  *
  * @param string                  $directory Path to the source directory.
  * @param boolean                 $shift     Did identification of the
  *                                           component consume an argument?
  * @param Components_Config       $config    The configuration for the
  *                                           current job.
  * @param Components_Component_Factory $factory Generator for additional
  *                                              helpers.
  */
 public function __construct($archive, Components_Config $config, Components_Component_Factory $factory)
 {
     $this->_archive = $archive;
     parent::__construct($config, $factory);
 }
예제 #3
0
파일: Source.php 프로젝트: raz0rsdge/horde
 /**
  * Constructor.
  *
  * @param string                  $directory Path to the source directory.
  * @param boolean                 $shift     Did identification of the
  *                                           component consume an argument?
  * @param Components_Config       $config    The configuration for the
  *                                           current job.
  * @param Components_Component_Factory $factory Generator for additional
  *                                              helpers.
  */
 public function __construct($directory, Components_Config $config, Components_Component_Factory $factory)
 {
     $this->_directory = realpath($directory);
     parent::__construct($config, $factory);
 }