API17:JError::raiseError
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JError::raiseError|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JError::raiseError|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function raiseError ( |
| + | $code | ||
| + | $msg | ||
| + | $info=null | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 37: | Line 38: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' object $error The configured object | |
| − | object $error The configured object | + | * '''Defined''' on line 187 of libraries/joomla/error/error.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/error/error.php | + | * '''Referenced by''' |
| − | * | + | ** [[JHtml::_/11.1|JHtml::_]] |
| − | + | ** [[JSessionStorageXcache::__construct/11.1|JSessionStorageXcache::__construct]] | |
| − | * [[JHtml::_/11.1|JHtml::_]] | + | ** [[JSessionStorageWincache::__construct/11.1|JSessionStorageWincache::__construct]] |
| − | * [[JSessionStorageXcache::__construct/11.1|JSessionStorageXcache::__construct]] | + | ** [[JSessionStorageMemcache::__construct/11.1|JSessionStorageMemcache::__construct]] |
| − | * [[JSessionStorageWincache::__construct/11.1|JSessionStorageWincache::__construct]] | + | ** [[JSessionStorageEaccelerator::__construct/11.1|JSessionStorageEaccelerator::__construct]] |
| − | * [[JSessionStorageMemcache::__construct/11.1|JSessionStorageMemcache::__construct]] | + | ** [[JSessionStorageApc::__construct/11.1|JSessionStorageApc::__construct]] |
| − | * [[JSessionStorageEaccelerator::__construct/11.1|JSessionStorageEaccelerator::__construct]] | + | ** [[JModel::__construct/11.1|JModel::__construct]] |
| − | * [[JSessionStorageApc::__construct/11.1|JSessionStorageApc::__construct]] | + | ** [[JControllerForm::__construct/11.1|JControllerForm::__construct]] |
| − | * [[JModel::__construct/11.1|JModel::__construct]] | + | ** [[JControllerAdmin::__construct/11.1|JControllerAdmin::__construct]] |
| − | * [[JControllerForm::__construct/11.1|JControllerForm::__construct]] | + | ** [[JInstaller::abort/11.1|JInstaller::abort]] |
| − | * [[JControllerAdmin::__construct/11.1|JControllerAdmin::__construct]] | + | ** [[JPath::check/11.1|JPath::check]] |
| − | * [[JInstaller::abort/11.1|JInstaller::abort]] | + | ** [[JFolder::copy/11.1|JFolder::copy]] |
| − | * [[JPath::check/11.1|JPath::check]] | + | ** [[JController::createView/11.1|JController::createView]] |
| − | * [[JFolder::copy/11.1|JFolder::copy]] | + | ** [[JController::execute/11.1|JController::execute]] |
| − | * [[JController::createView/11.1|JController::createView]] | + | ** [[JArchive::getAdapter/11.1|JArchive::getAdapter]] |
| − | * [[JController::execute/11.1|JController::execute]] | + | ** [[JFactory::getApplication/11.1|JFactory::getApplication]] |
| − | * [[JArchive::getAdapter/11.1|JArchive::getAdapter]] | + | ** [[JFormFieldGroupedList::getGroups/11.1|JFormFieldGroupedList::getGroups]] |
| − | * [[JFactory::getApplication/11.1|JFactory::getApplication]] | + | ** [[JDocument::getInstance/11.1|JDocument::getInstance]] |
| − | * [[JFormFieldGroupedList::getGroups/11.1|JFormFieldGroupedList::getGroups]] | + | ** [[JDatabase::getInstance/11.1|JDatabase::getInstance]] |
| − | * [[JDocument::getInstance/11.1|JDocument::getInstance]] | + | ** [[JRouter::getInstance/11.1|JRouter::getInstance]] |
| − | * [[JDatabase::getInstance/11.1|JDatabase::getInstance]] | + | ** [[JPathway::getInstance/11.1|JPathway::getInstance]] |
| − | * [[JRouter::getInstance/11.1|JRouter::getInstance]] | + | ** [[JCacheController::getInstance/11.1|JCacheController::getInstance]] |
| − | * [[JPathway::getInstance/11.1|JPathway::getInstance]] | + | ** [[JApplication::getInstance/11.1|JApplication::getInstance]] |
| − | * [[JCacheController::getInstance/11.1|JCacheController::getInstance]] | + | ** [[JView::getName/11.1|JView::getName]] |
| − | * [[JApplication::getInstance/11.1|JApplication::getInstance]] | + | ** [[JModel::getName/11.1|JModel::getName]] |
| − | * [[JView::getName/11.1|JView::getName]] | + | ** [[JController::getName/11.1|JController::getName]] |
| − | * [[JModel::getName/11.1|JModel::getName]] | + | ** [[JModel::getTable/11.1|JModel::getTable]] |
| − | * [[JController::getName/11.1|JController::getName]] | + | ** [[JController::getView/11.1|JController::getView]] |
| − | * [[JModel::getTable/11.1|JModel::getTable]] | + | ** [[JDocument::loadRenderer/11.1|JDocument::loadRenderer]] |
| − | * [[JController::getView/11.1|JController::getView]] | + | ** [[JView::loadTemplate/11.1|JView::loadTemplate]] |
| − | * [[JDocument::loadRenderer/11.1|JDocument::loadRenderer]] | + | ** [[JDatabaseSQLSrv::query/11.1|JDatabaseSQLSrv::query]] |
| − | * [[JView::loadTemplate/11.1|JView::loadTemplate]] | + | ** [[JDatabaseSQLAzure::query/11.1|JDatabaseSQLAzure::query]] |
| − | * [[JDatabaseMySQLi::query/11.1|JDatabaseMySQLi::query]] | + | ** [[JDatabaseMySQLi::query/11.1|JDatabaseMySQLi::query]] |
| − | * [[JDatabaseMySQL::query/11.1|JDatabaseMySQL::query]] | + | ** [[JDatabaseMySQL::query/11.1|JDatabaseMySQL::query]] |
| − | * [[JDocumentFeed::render/11.1|JDocumentFeed::render]] | + | ** [[JDocumentFeed::render/11.1|JDocumentFeed::render]] |
| − | * [[JComponentHelper::renderComponent/11.1|JComponentHelper::renderComponent]] | + | ** [[JComponentHelper::renderComponent/11.1|JComponentHelper::renderComponent]] |
| − | * [[setErrorHandling/11.1|setErrorHandling]] | + | ** [[setErrorHandling/11.1|setErrorHandling]] |
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JError::raiseError source code''' on [[jplatform:error/error.php#cl-179|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JError/11.1|JError]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Error/11.1|Error]] | ||
| + | * [[JError::raiseError|Other versions of JError::raiseError]] | ||
| + | {{SeeAlso:JError::raiseError}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JError::raiseError|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JError::raiseError|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 93: | Line 96: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JError]][[Category:JError::raiseError]]</noinclude> | <noinclude>[[Category:JError]][[Category:JError::raiseError]]</noinclude> | ||
Revision as of 20:52, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JError::raiseError
Description
Wrapper method for the method with predefined error level of E_ERROR and backtrace set to true.
Description:JError::raiseError [Edit Descripton]
public static function 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 on line 187 of libraries/joomla/error/error.php
- Since
- 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
- JDatabaseSQLSrv::query
- JDatabaseSQLAzure::query
- JDatabaseMySQLi::query
- JDatabaseMySQL::query
- JDocumentFeed::render
- JComponentHelper::renderComponent
- setErrorHandling
See also
-
JError::raiseError source code on BitBucket
-
Class JError
-
Subpackage Error
- Other versions of JError::raiseError
SeeAlso:JError::raiseError [Edit See Also]
User contributed notes
<CodeExamplesForm />
