Пример #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);
 }
Пример #2
0
 public function __construct(\Frame\Core\Context $context)
 {
     parent::__construct($context);
     $this->args = $GLOBALS['argv'];
 }
Пример #3
0
 public function __construct(\Frame\Core\Context $context)
 {
     parent::__construct($context);
     $this->type = 'Get';
     $this->get = $_GET;
 }
Пример #4
0
Файл: Put.php Проект: apoq/frame
 public function __construct(\Frame\Core\Context $context)
 {
     parent::__construct($context);
     $this->type = 'Put';
     parse_str(file_get_contents("php://input"), $this->put);
 }
Пример #5
0
 public function __construct(\Frame\Core\Context $context)
 {
     parent::__construct($context);
     $this->type = 'Post';
     $this->post = $_POST;
 }