public function posted($method = 'post') { $postIndicator = $this->getPostIndicator(); if ($postIndicator->posted($method)) { if ($method == 'post') { $this->setValues($_POST, $_FILES); } else { if ($method == 'get') { $this->setValues($_GET); } } return true; } return false; }