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