예제 #1
0
파일: Args.php 프로젝트: 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);
 }
예제 #2
0
파일: Args.php 프로젝트: shaggy8871/frame
 public function __construct(\Frame\Core\Context $context)
 {
     parent::__construct($context);
     $this->args = $GLOBALS['argv'];
 }
예제 #3
0
파일: Get.php 프로젝트: shaggy8871/frame
 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
파일: Post.php 프로젝트: shaggy8871/frame
 public function __construct(\Frame\Core\Context $context)
 {
     parent::__construct($context);
     $this->type = 'Post';
     $this->post = $_POST;
 }