public function __construct(\Frame\Core\Context $context) { foreach ($GLOBALS['argv'] as $key => $value) { if ($key) { $this->args['arg' . $key] = $value; } } parent::_construct($context); }
public function __construct(\Frame\Core\Context $context) { parent::__construct($context); $this->args = $GLOBALS['argv']; }
public function __construct(\Frame\Core\Context $context) { parent::__construct($context); $this->type = 'Get'; $this->get = $_GET; }
public function __construct(\Frame\Core\Context $context) { parent::__construct($context); $this->type = 'Put'; parse_str(file_get_contents("php://input"), $this->put); }
public function __construct(\Frame\Core\Context $context) { parent::__construct($context); $this->type = 'Post'; $this->post = $_POST; }