Class RequestBase

An object that represents a particular request to the Concrete-powered website. The request object then determines what is being requested, based on the path, and presents itself to the rest of the dispatcher (which loads the page, etc...).

Symfony\Component\HttpFoundation\Request
Extended by Concrete\Core\Http\RequestBase

Direct known subclasses

Concrete\Core\Http\Request

Namespace: Concrete\Core\Http
Package: Core
Category: Concrete
Copyright: Copyright (c) 2003-2008 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at src/Http/RequestBase.php

Methods summary

public static static
# getInstance( )
public static
# setInstance( Symfony\Component\HttpFoundation\Request $instance )
public Concrete\Core\Page\Page
public
public
public Concrete\Core\User\UserInfo
public
public boolean
# hasCustomRequestUser( )
public string
# getCustomRequestDateTime( )
public
# setCustomRequestDateTime( string $date )
public boolean
# matches( string $pattern )

Determines whether a request matches a particular pattern.

public string
# getPath( )

Returns the full path for a request.

public static mixed
# post( string $key = null, mixed $defaultValue = null )

If no arguments are passed, returns the post array. If a key is passed, it returns the value as it exists in the post array. If a default value is provided and the key does not exist in the POST array, the default value is returned.

public static mixed
# request( string $key = null, mixed $defaultValue = null )
public static boolean
# isPost( )

Properties summary

protected boolean $hasCustomRequestUser
#
protected Concrete\Core\User\UserInfo $customRequestUser
#
protected string $customRequestDateTime
#
protected static Symfony\Component\HttpFoundation\Request $instance
#
protected Concrete\Core\Page\Page $c
#