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