Events\Event::getData

public getData () Event data

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

EscaperInterface::setHtmlQuoteType

abstract public setHtmlQuoteType (mixed $quoteType) ...

EscaperInterface::setEncoding

abstract public setEncoding (mixed $encoding) ...

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

Escaper::setHtmlQuoteType

public setHtmlQuoteType (mixed $quoteType) Sets the HTML quoting type for htmlspecialchars $escaper->setHtmlQuoteType(ENT_XHTML);

Escaper::setDoubleEncode

public setDoubleEncode (mixed $doubleEncode) Sets the double_encode to be used by the escaper $escaper->setDoubleEncode(false);

EscaperInterface::escapeUrl

abstract public escapeUrl (mixed $url) ...

EscaperInterface

Source on GitHub Methods abstract public setEncoding (mixed $encoding) ... abstract public getEncoding () ... abstract public setHtmlQuoteType (mixed $quoteType) ... abstract public escapeHtml (mixed $text) ... abstract public escapeHtmlAttr (mixed $text) ... abstract public escapeCss (mixed $css) ... abstract public escapeJs (mixed $js) ... abstract public escapeUrl (mixed $url) ...