public function init() { if ($this->data === null) { $this->data = array_merge($_GET, $_POST); // OPs may send data as POST or GET. } }