__construct() public method

Constructor.
public __construct ( array $namespaces )
$namespaces array The namespaces.
示例#1
0
 /**
  * Constructor.
  *
  * @param string $user          The current user.
  * @param array  $configuration The namespace configuration.
  */
 public function __construct($user, array $configuration)
 {
     $this->user = $user;
     $this->configuration = $configuration;
     parent::__construct($this->_initializeData());
 }
示例#2
0
文件: Fixed.php 项目: horde/horde
 /**
  * Constructor.
  */
 public function __construct($user)
 {
     $this->user = $user;
     parent::__construct($this->_initializeData());
 }