HTTPRequest::__construct PHP Method

__construct() public method

public __construct ( $sock, $addr )
    public function __construct($sock, $addr)
    {
        $this->sock = $sock;
        $addr = explode(":", $addr);
        $this->ip = $addr[0];
        if (count($addr) == 2) {
            $this->port = $addr[1];
        }
        parent::__construct("setup");
    }

Usage Example

コード例 #1
0
ファイル: eregansu-admin.php プロジェクト: nexgenta/admin
 public function __construct($uriArray)
 {
     parent::__construct();
     $this->objects = array();
     $this->params = $uriArray;
     $this->base = $this->self . '?page=';
     $this->absoluteBase = $this->httpBase;
     $this->absolutePage = $this->absoluteBase . 'admin.php?page=';
     $this->determineTypes();
 }
All Usage Examples Of HTTPRequest::__construct