Events\Event

implements Phalcon\Events\EventInterface Source on GitHub This class offers contextual information of a fired event in the EventsManager Methods public getType () Event type public getSource () Event source public getData () Event data public __construct (string $type, object $source, [mixed $data], [boolean $cancelable]) Phalcon\Events\Event constructor public setData ([mixed $data]) Sets event data public setType (mixed $type) Sets event type public stop () Stops the event preventing propagat

Events Manager

The purpose of this component is to intercept the execution of most of the other components of the framework by creating “hook points”. These hook points allow the developer to obtain status information, manipulate data or change the flow of execution during the process of a component. Naming Convention Phalcon events use namespaces to avoid naming collisions. Each component in Phalcon occupies a different event namespace and you are free to create your own as you see fit. Event names are forma

Escaper\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

EscaperInterface::setHtmlQuoteType

abstract public setHtmlQuoteType (mixed $quoteType) ...

EscaperInterface::setEncoding

abstract public setEncoding (mixed $encoding) ...

EscaperInterface::getEncoding

abstract public getEncoding () ...

EscaperInterface::escapeUrl

abstract public escapeUrl (mixed $url) ...

EscaperInterface::escapeJs

abstract public escapeJs (mixed $js) ...

EscaperInterface::escapeHtmlAttr

abstract public escapeHtmlAttr (mixed $text) ...

EscaperInterface::escapeHtml

abstract public escapeHtml (mixed $text) ...