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

Mvc\ViewBaseInterface

Source on GitHub Methods abstract public setViewsDir (mixed $viewsDir) ... abstract public getViewsDir () ... abstract public setParamToView (mixed $key, mixed $value) ... abstract public setVar (mixed $key, mixed $value) ... abstract public getParamsToView () ... abstract public getCache () ... abstract public cache ([mixed $options]) ... abstract public setContent (mixed $content) ... abstract public getContent () ... abstract public partial (mixed $partialPath, [mixed $params]) ...

Session\Adapter::__set

public __set (mixed $index, mixed $value) Alias: Sets a session variable in an application context

Db\AdapterInterface::rollback

abstract public rollback ([mixed $nesting]) ...

Http\CookieInterface::getPath

abstract public getPath () ...

Mvc\Model\RelationInterface::getForeignKey

abstract public getForeignKey () ...