Changeset View
Changeset View
Standalone View
Standalone View
core/kernel/application.php
Show First 20 Lines • Show All 2452 Lines • ▼ Show 20 Line(s) | |||||
public function setEvent($prefix_special, $event_name) | public function setEvent($prefix_special, $event_name) | ||||
{ | { | ||||
$this->EventManager->setEvent($prefix_special, $event_name); | $this->EventManager->setEvent($prefix_special, $event_name); | ||||
} | } | ||||
/** | /** | ||||
* SQL Error Handler | * SQL Error Handler | ||||
* | * | ||||
* @param int $code | * @param integer $code Error code. | ||||
* @param string $msg | * @param string $msg Error message. | ||||
* @param string $sql | * @param string $sql SQL query. | ||||
* @return bool | * @param boolean|null $throw_exception Throw an exception. | ||||
* @access public | * | ||||
* @throws Exception | * @return boolean | ||||
* @deprecated | * @deprecated | ||||
*/ | */ | ||||
public function handleSQLError($code, $msg, $sql) | public function handleSQLError($code, $msg, $sql, $throw_exception = null) | ||||
{ | { | ||||
return $this->_logger->handleSQLError($code, $msg, $sql); | return $this->_logger->handleSQLError($code, $msg, $sql, $throw_exception); | ||||
} | } | ||||
/** | /** | ||||
* Returns & blocks next ResourceId available in system | * Returns & blocks next ResourceId available in system | ||||
* | * | ||||
* @return int | * @return int | ||||
* @access public | * @access public | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 675 Lines • Show Last 20 Lines |