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"); }
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(); }