w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • Bulletin
  • Posts
doc_Phalcon
doc_Phalcon


Http\Request::has

public has (mixed $name) Checks whether $_REQUEST superglobal has certain index

Http\Request::getUserAgent

public getUserAgent () Gets HTTP user agent used to made the request

Http\Request::getURI

final public getURI () Gets HTTP URI which request has been made

Http\Request::getUploadedFiles

public getUploadedFiles ([mixed $onlySuccessful]) Gets attached files as Phalcon\Http\Request\File instances

Http\Request::getServerName

public getServerName () Gets active server name

Http\Request::getServerAddress

public getServerAddress () Gets active server address IP

Http\Request::getServer

public getServer (mixed $name) Gets variable from $_SERVER superglobal

Http\Request::getScheme

public getScheme () Gets HTTP schema (http/https)

Http\Request::getRawBody

public getRawBody () Gets HTTP raw request body

Http\Request::getQuery

public getQuery ([mixed $name], [mixed $filters], [mixed $defaultValue], [mixed $notAllowEmpty], [mixed $noRecursive]) Gets variable from $_GET superglobal applying filters if needed If no parameters are given the $_GET superglobal is returned // Returns value from $_GET['id'] without sanitizing $id = $request->getQuery('id'); // Returns value from $_GET['id'] with sanitizing $id = $request->getQuery('id', 'int'); // Returns value from $_GET['id'] with a default value $id = $request->

Page 234 of 382

|< < Prev 231 232 233 234 235 236 237 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions