1.0 Doctrine_Event
Doctrine Event
Method Summary
| Returns | Name | Description |
|---|---|---|
| end | ||
| integer | getCode | |
| mixed | getElapsedSecs | |
| getInvoker | ||
| string | getName | |
| array | getParams | |
| getQuery | ||
| boolean | hasEnded | |
| set | ||
| setInvoker | ||
| skipOperation | ||
| start | ||
| __construct | ||
| mixed | __get | |
| __set |
Method Details
-
end()
end ends the internal timer of this event
Doctrine_Event
-
(integer) getCode()
Doctrine_Event
-
(mixed) getElapsedSecs()
Get the elapsed time (in microseconds) that the event ran. If the event has not yet ended, return false.
-
getInvoker()
getInvoker returns the handler that invoked this event
Doctrine_Event
-
(string) getName()
getName returns the name of this event
Doctrine_Event
-
(array) getParams()
getParams returns the parameters of the query
Doctrine_Event
-
getQuery()
Doctrine_Event
-
(boolean) hasEnded()
hasEnded whether or not this event has ended
-
$option the name of the option $value the value of the given option set($option, [[[amp]]]$value, $value)
setOption sets the value of an option by reference
Doctrine_Event
-
setInvoker($invoker)
setInvoker Defines new invoker (used in Hydrator)
-
skipOperation()
skipOperation skips the next operation an alias for __set('skipOperation', true)
Doctrine_Event
-
start()
start starts the internal timer of this event
Doctrine_Event
-
$code the event code $query the sql query associated with this event (if any) __construct((Doctrine_Connection|Doctrine_Connection_Statement|) $invoker, $code, $query = null, $params = array())
constructor
-
$option the name of the option (mixed) __get($option)
getOption returns the value of an option
-
$option the name of the option $value the value of the given option __set($option, $value)
setOption sets the value of an option
Doctrine_Event