v1.0.0
English

CLIRequest.php

system/HTTP/CLIRequest.php
1 class 17 methods

class CLIRequest

Represents a request from the command-line. Provides additional tools to interact with that request since CLI requests are not static like HTTP requests might be. Portions of this code were initially from the FuelPHP Framework, version 1.7.x, and used here under the MIT license they were originally made available under. http://fuelphp.com
__construct (App $config) public
getPath () public
getOptions () public
getArgs () public
getSegments () public
getOption (string $key) public
getOptionString (bool $useLongOpts = false) public
parseCommand () protected
isCLI () public
getGet ($index = null, $filter = null, $flags = null) public
getPost ($index = null, $filter = null, $flags = null) public
getPostGet ($index = null, $filter = null, $flags = null) public
getGetPost ($index = null, $filter = null, $flags = null) public
getCookie ($index = null, $filter = null, $flags = null) public
returnNullOrEmptyArray ($index) private
getLocale () public
is (string $type) public
phpDG v1.0.0 CLIRequest.php 662 files 498 classes 763 fn
Generated