Request Environment

Every HTTP request (usually originated by a browser) contains additional information regarding the request such as header data, files, variables, etc. A web based application needs to parse that information so as to provide the correct response back to the requester. Phalcon\Http\Request encapsulates the information of the request, allowing you to access it in an object-oriented way. use Phalcon\Http\Request; // Getting a request instance $request = new Request(); // Check whether the request

Mvc\View::getLayoutsDir

public getLayoutsDir () Gets the current layouts sub-directory

Http\Response::setJsonContent

public setJsonContent (mixed $content, [mixed $jsonOptions], [mixed $depth]) Sets HTTP response body. The parameter is automatically converted to JSON and also sets default header: Content-Type: “application/json; charset=UTF-8” $response->setJsonContent(array("status" => "OK"));

Mvc\View\Engine\Volt\Compiler::compileElseIf

public compileElseIf (array $statement) Compiles a “elseif” statement returning PHP code

Mvc\Model\Query\Builder::getOffset

public string | array getOffset () Returns the current OFFSET clause

Db\AdapterInterface::getDefaultIdValue

abstract public getDefaultIdValue () ...

Http\RequestInterface::has

abstract public has (mixed $name) ...

CryptInterface::getKey

abstract public getKey () ...

Forms\ElementInterface::getFilters

abstract public getFilters () ...

Events\Manager::arePrioritiesEnabled

public arePrioritiesEnabled () Returns if priorities are enabled