JError::raiseError: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 40: | Line 40: | ||
object $error The configured object | object $error The configured object | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/error/error.php | libraries/joomla/error/error.php (line 179) | ||
* see source code in [[jplatform:error/error.php#cl-179|BitBucket]] | |||
===Referenced by=== | ===Referenced by=== | ||
* [[JHtml | * [[JHtml::_/11.1|JHtml::_]] | ||
* [[JSessionStorageXcache | * [[JSessionStorageXcache::__construct/11.1|JSessionStorageXcache::__construct]] | ||
* [[JSessionStorageWincache | * [[JSessionStorageWincache::__construct/11.1|JSessionStorageWincache::__construct]] | ||
* [[JSessionStorageMemcache | * [[JSessionStorageMemcache::__construct/11.1|JSessionStorageMemcache::__construct]] | ||
* [[JSessionStorageEaccelerator | * [[JSessionStorageEaccelerator::__construct/11.1|JSessionStorageEaccelerator::__construct]] | ||
* [[JSessionStorageApc | * [[JSessionStorageApc::__construct/11.1|JSessionStorageApc::__construct]] | ||
* [[JModel | * [[JModel::__construct/11.1|JModel::__construct]] | ||
* [[JControllerForm | * [[JControllerForm::__construct/11.1|JControllerForm::__construct]] | ||
* [[JControllerAdmin | * [[JControllerAdmin::__construct/11.1|JControllerAdmin::__construct]] | ||
* [[JInstaller | * [[JInstaller::abort/11.1|JInstaller::abort]] | ||
* [[JPath | * [[JPath::check/11.1|JPath::check]] | ||
* [[JFolder | * [[JFolder::copy/11.1|JFolder::copy]] | ||
* [[JController | * [[JController::createView/11.1|JController::createView]] | ||
* [[JController | * [[JController::execute/11.1|JController::execute]] | ||
* [[JArchive | * [[JArchive::getAdapter/11.1|JArchive::getAdapter]] | ||
* [[JFactory | * [[JFactory::getApplication/11.1|JFactory::getApplication]] | ||
* [[JFormFieldGroupedList | * [[JFormFieldGroupedList::getGroups/11.1|JFormFieldGroupedList::getGroups]] | ||
* [[JDocument | * [[JDocument::getInstance/11.1|JDocument::getInstance]] | ||
* [[JDatabase | * [[JDatabase::getInstance/11.1|JDatabase::getInstance]] | ||
* [[JRouter | * [[JRouter::getInstance/11.1|JRouter::getInstance]] | ||
* [[JPathway | * [[JPathway::getInstance/11.1|JPathway::getInstance]] | ||
* [[JCacheController | * [[JCacheController::getInstance/11.1|JCacheController::getInstance]] | ||
* [[JApplication | * [[JApplication::getInstance/11.1|JApplication::getInstance]] | ||
* [[JView | * [[JView::getName/11.1|JView::getName]] | ||
* [[JModel | * [[JModel::getName/11.1|JModel::getName]] | ||
* [[JController | * [[JController::getName/11.1|JController::getName]] | ||
* [[JModel | * [[JModel::getTable/11.1|JModel::getTable]] | ||
* [[JController | * [[JController::getView/11.1|JController::getView]] | ||
* [[JDocument | * [[JDocument::loadRenderer/11.1|JDocument::loadRenderer]] | ||
* [[JView | * [[JView::loadTemplate/11.1|JView::loadTemplate]] | ||
* [[JDatabaseMySQLi | * [[JDatabaseMySQLi::query/11.1|JDatabaseMySQLi::query]] | ||
* [[JDatabaseMySQL | * [[JDatabaseMySQL::query/11.1|JDatabaseMySQL::query]] | ||
* [[JDocumentFeed | * [[JDocumentFeed::render/11.1|JDocumentFeed::render]] | ||
* [[JComponentHelper | * [[JComponentHelper::renderComponent/11.1|JComponentHelper::renderComponent]] | ||
* [[setErrorHandling/11.1|setErrorHandling]] | * [[setErrorHandling/11.1|setErrorHandling]] | ||
===See also=== | ===See also=== | ||
Revision as of 01:27, 24 April 2011
JError::raiseError
Description
Wrapper method for the method with predefined error level of E_ERROR and backtrace set to true.
Template:Description:JError::raiseError [Edit Descripton]
Since
Synopsis
public static JError::raiseError ($code, $msg, $info=null)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $code | string | The application-internal error code for this error | |
| $msg | string | The error message, which may also be shown the user if need be. | |
| $info | mixed | null | Optional: Additional error information (usually only developer-relevant information that the user should never see, like a database DSN). |
Returns
object $error The configured object
Defined in
libraries/joomla/error/error.php (line 179)
- see source code in BitBucket
Referenced by
- JHtml::_
- JSessionStorageXcache::__construct
- JSessionStorageWincache::__construct
- JSessionStorageMemcache::__construct
- JSessionStorageEaccelerator::__construct
- JSessionStorageApc::__construct
- JModel::__construct
- JControllerForm::__construct
- JControllerAdmin::__construct
- JInstaller::abort
- JPath::check
- JFolder::copy
- JController::createView
- JController::execute
- JArchive::getAdapter
- JFactory::getApplication
- JFormFieldGroupedList::getGroups
- JDocument::getInstance
- JDatabase::getInstance
- JRouter::getInstance
- JPathway::getInstance
- JCacheController::getInstance
- JApplication::getInstance
- JView::getName
- JModel::getName
- JController::getName
- JModel::getTable
- JController::getView
- JDocument::loadRenderer
- JView::loadTemplate
- JDatabaseMySQLi::query
- JDatabaseMySQL::query
- JDocumentFeed::render
- JComponentHelper::renderComponent
- setErrorHandling
See also
Template:SeeAlso:JError::raiseError
Examples
<CodeExamplesForm />