__construct() public method

Required parameters:
 authObj    The object to handle the authentication
Optional parameters:
 server              The IMSP host
 port                The port the IMSP server listens on
 logger    The logger.
public __construct ( array $params )
$params array Hash containing server parameters.
コード例 #1
0
ファイル: Socket.php プロジェクト: jubinpatel/horde
 /**
  * Constructor function.
  * Required parameters:
  *<pre>
  *  authObj  <Horde_Imsp_Auth>  The object to handle the authentication
  *</pre>
  *
  * Optional parameters:
  *<pre>
  *  server   <string>           The IMSP host
  *  port     <string>           The port the IMSP server listens on
  *  logger  <Horde_Log_Logger>  The logger.
  *</pre>
  * @param array $params Hash containing server parameters.
  */
 public function __construct(array $params)
 {
     parent::__construct($params);
     $this->_imspOpen();
     $this->_logger->debug('Initializing Horde_Imsp object.');
 }