API17:JError::raiseWarning
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JError::raiseWarning|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JError::raiseWarning|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function raiseWarning ( |
| + | $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 203 of libraries/joomla/error/error.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/error/error.php | + | * '''Referenced by''' |
| − | + | ** [[JAuthentication::__construct/11.1|JAuthentication::__construct]] | |
| − | * [[JAuthentication | + | ** [[JExtension::__construct/11.1|JExtension::__construct]] |
| − | * [[JExtension | + | ** [[JElementContentLanguages::_getOptions/11.1|JElementContentLanguages::_getOptions]] |
| − | * [[JElementContentLanguages | + | ** [[JSimpleXML::_handleError/11.1|JSimpleXML::_handleError]] |
| − | * [[JSimpleXML | + | ** [[JInstallerLanguage::_install/11.1|JInstallerLanguage::_install]] |
| − | * [[JInstallerLanguage | + | ** [[JPluginHelper::_load/11.1|JPluginHelper::_load]] |
| − | * [[JPluginHelper | + | ** [[JModuleHelper::_load/11.1|JModuleHelper::_load]] |
| − | * [[JModuleHelper | + | ** [[JComponentHelper::_load/11.1|JComponentHelper::_load]] |
| − | * [[JComponentHelper | + | ** [[JEditor::_loadEditor/11.1|JEditor::_loadEditor]] |
| − | * [[JEditor | + | ** [[JFTP::_mode/11.1|JFTP::_mode]] |
| − | * [[JFTP | + | ** [[JFTP::_passive/11.1|JFTP::_passive]] |
| − | * [[JFTP | + | ** [[JFTP::_putCmd/11.1|JFTP::_putCmd]] |
| − | * [[JFTP | + | ** [[JInstallerComponent::_removeAdminMenus/11.1|JInstallerComponent::_removeAdminMenus]] |
| − | * [[JInstallerComponent | + | ** [[JFTP::_verifyResponse/11.1|JFTP::_verifyResponse]] |
| − | * [[JFTP | + | ** [[JInstaller::abort/11.1|JInstaller::abort]] |
| − | * [[JInstaller | + | ** [[JUserHelper::activateUser/11.1|JUserHelper::activateUser]] |
| − | * [[JUserHelper | + | ** [[JAuthentication::authenticate/11.1|JAuthentication::authenticate]] |
| − | * [[JAuthentication | + | ** [[JFTP::chdir/11.1|JFTP::chdir]] |
| − | * [[JFTP | + | ** [[JFTP::chmod/11.1|JFTP::chmod]] |
| − | * [[JFTP | + | ** [[JFTP::connect/11.1|JFTP::connect]] |
| − | * [[JFTP | + | ** [[JFile::copy/11.1|JFile::copy]] |
| − | * [[JFile | + | ** [[JInstaller::copyFiles/11.1|JInstaller::copyFiles]] |
| − | * [[JInstaller | + | ** [[JFolder::create/11.1|JFolder::create]] |
| − | * [[JFolder | + | ** [[JFTP::create/11.1|JFTP::create]] |
| − | * [[JFTP | + | ** [[JFolder::delete/11.1|JFolder::delete]] |
| − | * [[JFolder | + | ** [[JFTP::delete/11.1|JFTP::delete]] |
| − | * [[JFTP | + | ** [[JFile::delete/11.1|JFile::delete]] |
| − | * [[JFile | + | ** [[JModelAdmin::delete/11.1|JModelAdmin::delete]] |
| − | * [[JModelAdmin | + | ** [[JControllerAdmin::delete/11.1|JControllerAdmin::delete]] |
| − | * [[JControllerAdmin | + | ** [[JInstallerHelper::detectType/11.1|JInstallerHelper::detectType]] |
| − | * [[JInstallerHelper | + | ** [[JInstallerTemplate::discover_install/11.1|JInstallerTemplate::discover_install]] |
| − | * [[JInstallerTemplate | + | ** [[JInstallerPlugin::discover_install/11.1|JInstallerPlugin::discover_install]] |
| − | * [[JInstallerPlugin | + | ** [[JInstallerLibrary::discover_install/11.1|JInstallerLibrary::discover_install]] |
| − | * [[JInstallerLibrary | + | ** [[JInstallerComponent::discover_install/11.1|JInstallerComponent::discover_install]] |
| − | * [[JInstallerComponent | + | ** [[JInstallerModule::discover_install/11.1|JInstallerModule::discover_install]] |
| − | * [[JInstallerModule | + | ** [[JInstallerLanguage::discover_install/11.1|JInstallerLanguage::discover_install]] |
| − | * [[JInstallerLanguage | + | ** [[JInstallerHelper::downloadPackage/11.1|JInstallerHelper::downloadPackage]] |
| − | * [[JInstallerHelper | + | ** [[JHtmlContentLanguage::existing/11.1|JHtmlContentLanguage::existing]] |
| − | * [[JHtmlContentLanguage | + | ** [[JArchiveZip::extract/11.1|JArchiveZip::extract]] |
| − | * [[JArchiveZip | + | ** [[JArchiveTar::extract/11.1|JArchiveTar::extract]] |
| − | * [[JArchiveTar | + | ** [[JArchiveGzip::extract/11.1|JArchiveGzip::extract]] |
| − | * [[JArchiveGzip | + | ** [[JArchiveBzip2::extract/11.1|JArchiveBzip2::extract]] |
| − | * [[JArchiveBzip2 | + | ** [[JArchive::extract/11.1|JArchive::extract]] |
| − | * [[JArchive | + | ** [[JFolder::files/11.1|JFolder::files]] |
| − | * [[JFolder | + | ** [[JInstaller::findManifest/11.1|JInstaller::findManifest]] |
| − | * [[JInstaller | + | ** [[JFolder::folders/11.1|JFolder::folders]] |
| − | * [[JFolder | + | ** [[JFTP::get/11.1|JFTP::get]] |
| − | * [[JFTP | + | ** [[JFactory::getFeedParser/11.1|JFactory::getFeedParser]] |
| − | * [[JFactory | + | ** [[JFormFieldModuleLayout::getInput/11.1|JFormFieldModuleLayout::getInput]] |
| − | * [[JFormFieldModuleLayout | + | ** [[JFormFieldComponentLayout::getInput/11.1|JFormFieldComponentLayout::getInput]] |
| − | * [[JFormFieldComponentLayout | + | ** [[JUser::getInstance/11.1|JUser::getInstance]] |
| − | * [[JUser | + | ** [[JTable::getInstance/11.1|JTable::getInstance]] |
| − | * [[JTable | + | ** [[JCacheStorage::getInstance/11.1|JCacheStorage::getInstance]] |
| − | * [[JCacheStorage | + | ** [[JModel::getInstance/11.1|JModel::getInstance]] |
| − | * [[JModel | + | ** [[JView::getName/11.1|JView::getName]] |
| − | * [[JView | + | ** [[JFormFieldSQL::getOptions/11.1|JFormFieldSQL::getOptions]] |
| − | * [[JFormFieldSQL | + | ** [[JFormFieldEditors::getOptions/11.1|JFormFieldEditors::getOptions]] |
| − | * [[JFormFieldEditors | + | ** [[JFormFieldCategory::getOptions/11.1|JFormFieldCategory::getOptions]] |
| − | * [[JFormFieldCategory | + | ** [[JFactory::getXML/11.1|JFactory::getXML]] |
| − | * [[JFactory | + | ** [[JFactory::getXMLParser/11.1|JFactory::getXMLParser]] |
| − | * [[JFactory | + | ** [[JInstallerTemplate::install/11.1|JInstallerTemplate::install]] |
| − | * [[JInstallerTemplate | + | ** [[JInstallerComponent::install/11.1|JInstallerComponent::install]] |
| − | * [[JInstallerComponent | + | ** [[JInstallerLanguage::install/11.1|JInstallerLanguage::install]] |
| − | * [[JInstallerLanguage | + | ** [[JInstallerFile::install/11.1|JInstallerFile::install]] |
| − | * [[JInstallerFile | + | ** [[JHtmlAccess::level/11.1|JHtmlAccess::level]] |
| − | * [[JHtmlAccess | + | ** [[JFTP::listDetails/11.1|JFTP::listDetails]] |
| − | * [[JFTP | + | ** [[JFTP::listNames/11.1|JFTP::listNames]] |
| − | * [[JFTP | + | ** [[JUser::load/11.1|JUser::load]] |
| − | * [[JUser | + | ** [[JToolBar::loadButtonType/11.1|JToolBar::loadButtonType]] |
| − | * [[JToolBar | + | ** [[JFTP::login/11.1|JFTP::login]] |
| − | * [[JFTP | + | ** [[JFTP::mkdir/11.1|JFTP::mkdir]] |
| − | * [[JFTP | + | ** [[JFile::move/11.1|JFile::move]] |
| − | * [[JFile | + | ** [[JInstaller::parseFiles/11.1|JInstaller::parseFiles]] |
| − | * [[JInstaller | + | ** [[JInstaller::parseLanguages/11.1|JInstaller::parseLanguages]] |
| − | * [[JInstaller | + | ** [[JInstaller::parseMedia/11.1|JInstaller::parseMedia]] |
| − | * [[JInstaller | + | ** [[JInstaller::parseQueries/11.1|JInstaller::parseQueries]] |
| − | * [[JInstaller | + | ** [[JInstaller::parseSchemaUpdates/11.1|JInstaller::parseSchemaUpdates]] |
| − | * [[JInstaller | + | ** [[JInstaller::parseSQLFiles/11.1|JInstaller::parseSQLFiles]] |
| − | * [[JInstaller | + | ** [[JModelAdmin::publish/11.1|JModelAdmin::publish]] |
| − | * [[JModelAdmin | + | ** [[JControllerAdmin::publish/11.1|JControllerAdmin::publish]] |
| − | * [[JControllerAdmin | + | ** [[JFTP::pwd/11.1|JFTP::pwd]] |
| − | * [[JFTP | + | ** [[JFTP::read/11.1|JFTP::read]] |
| − | * [[JFTP | + | ** [[JFile::read/11.1|JFile::read]] |
| − | * [[JFile | + | ** [[JInstallerTemplate::refreshManifestCache/11.1|JInstallerTemplate::refreshManifestCache]] |
| − | * [[JInstallerTemplate | + | ** [[JInstallerPlugin::refreshManifestCache/11.1|JInstallerPlugin::refreshManifestCache]] |
| − | * [[JInstallerPlugin | + | ** [[JInstallerPackage::refreshManifestCache/11.1|JInstallerPackage::refreshManifestCache]] |
| − | * [[JInstallerPackage | + | ** [[JInstallerLibrary::refreshManifestCache/11.1|JInstallerLibrary::refreshManifestCache]] |
| − | * [[JInstallerLibrary | + | ** [[JInstallerComponent::refreshManifestCache/11.1|JInstallerComponent::refreshManifestCache]] |
| − | * [[JInstallerComponent | + | ** [[JInstallerModule::refreshManifestCache/11.1|JInstallerModule::refreshManifestCache]] |
| − | * [[JInstallerModule | + | ** [[JInstallerLanguage::refreshManifestCache/11.1|JInstallerLanguage::refreshManifestCache]] |
| − | * [[JInstallerLanguage | + | ** [[JInstallerFile::refreshManifestCache/11.1|JInstallerFile::refreshManifestCache]] |
| − | * [[JInstallerFile | + | ** [[JDispatcher::register/11.1|JDispatcher::register]] |
| − | * [[JDispatcher | + | ** [[JFTP::reinit/11.1|JFTP::reinit]] |
| − | * [[JFTP | + | ** [[JInstaller::removeFiles/11.1|JInstaller::removeFiles]] |
| − | * [[JInstaller | + | ** [[JFTP::rename/11.1|JFTP::rename]] |
| − | * [[JFTP | + | ** [[JModelAdmin::reorder/11.1|JModelAdmin::reorder]] |
| − | * [[JModelAdmin | + | ** [[JFTP::restart/11.1|JFTP::restart]] |
| − | * [[JFTP | + | ** [[JModelAdmin::saveorder/11.1|JModelAdmin::saveorder]] |
| − | * [[JModelAdmin | + | ** [[JClientHelper::setCredentialsFromRequest/11.1|JClientHelper::setCredentialsFromRequest]] |
| − | * [[JClientHelper | + | ** [[JMail::setSender/11.1|JMail::setSender]] |
| − | * [[JMail | + | ** [[JFTP::store/11.1|JFTP::store]] |
| − | * [[JFTP | + | ** [[JFTP::syst/11.1|JFTP::syst]] |
| − | * [[JFTP | + | ** [[JFormRuleUsername::test/11.1|JFormRuleUsername::test]] |
| − | * [[JFormRuleUsername | + | ** [[JFormRuleEmail::test/11.1|JFormRuleEmail::test]] |
| − | * [[JFormRuleEmail | + | ** [[JInstallerTemplate::uninstall/11.1|JInstallerTemplate::uninstall]] |
| − | * [[JInstallerTemplate | + | ** [[JInstallerPlugin::uninstall/11.1|JInstallerPlugin::uninstall]] |
| − | * [[JInstallerPlugin | + | ** [[JInstallerPackage::uninstall/11.1|JInstallerPackage::uninstall]] |
| − | * [[JInstallerPackage | + | ** [[JInstallerLibrary::uninstall/11.1|JInstallerLibrary::uninstall]] |
| − | * [[JInstallerLibrary | + | ** [[JInstallerComponent::uninstall/11.1|JInstallerComponent::uninstall]] |
| − | * [[JInstallerComponent | + | ** [[JInstallerModule::uninstall/11.1|JInstallerModule::uninstall]] |
| − | * [[JInstallerModule | + | ** [[JInstallerLanguage::uninstall/11.1|JInstallerLanguage::uninstall]] |
| − | * [[JInstallerLanguage | + | ** [[JInstallerFile::uninstall/11.1|JInstallerFile::uninstall]] |
| − | * [[JInstallerFile | + | ** [[JInstallerComponent::update/11.1|JInstallerComponent::update]] |
| − | * [[JInstallerComponent | + | ** [[JFile::upload/11.1|JFile::upload]] |
| − | * [[JFile | + | ** [[JForm::validate/11.1|JForm::validate]] |
| − | * [[JForm | + | ** [[JFTP::write/11.1|JFTP::write]] |
| − | * [[JFTP | + | ** [[JFile::write/11.1|JFile::write]] |
| − | * [[JFile | + | |
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JError::raiseWarning source code''' on [[jplatform:error/error.php#cl-195|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JError/11.1|JError]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Error/11.1|Error]] | ||
| + | * [[JError::raiseWarning|Other versions of JError::raiseWarning]] | ||
| + | {{SeeAlso:JError::raiseWarning}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JError::raiseWarning|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JError::raiseWarning|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 174: | Line 176: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JError]][[Category:JError::raiseWarning]]</noinclude> | <noinclude>[[Category:JError]][[Category:JError::raiseWarning]]</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::raiseWarning
Description
Wrapper method for the method with predefined error level of E_WARNING and backtrace set to false.
Description:JError::raiseWarning [Edit Descripton]
public static function raiseWarning ( $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 203 of libraries/joomla/error/error.php
- Since
- Referenced by
- JAuthentication::__construct
- JExtension::__construct
- JElementContentLanguages::_getOptions
- JSimpleXML::_handleError
- JInstallerLanguage::_install
- JPluginHelper::_load
- JModuleHelper::_load
- JComponentHelper::_load
- JEditor::_loadEditor
- JFTP::_mode
- JFTP::_passive
- JFTP::_putCmd
- JInstallerComponent::_removeAdminMenus
- JFTP::_verifyResponse
- JInstaller::abort
- JUserHelper::activateUser
- JAuthentication::authenticate
- JFTP::chdir
- JFTP::chmod
- JFTP::connect
- JFile::copy
- JInstaller::copyFiles
- JFolder::create
- JFTP::create
- JFolder::delete
- JFTP::delete
- JFile::delete
- JModelAdmin::delete
- JControllerAdmin::delete
- JInstallerHelper::detectType
- JInstallerTemplate::discover_install
- JInstallerPlugin::discover_install
- JInstallerLibrary::discover_install
- JInstallerComponent::discover_install
- JInstallerModule::discover_install
- JInstallerLanguage::discover_install
- JInstallerHelper::downloadPackage
- JHtmlContentLanguage::existing
- JArchiveZip::extract
- JArchiveTar::extract
- JArchiveGzip::extract
- JArchiveBzip2::extract
- JArchive::extract
- JFolder::files
- JInstaller::findManifest
- JFolder::folders
- JFTP::get
- JFactory::getFeedParser
- JFormFieldModuleLayout::getInput
- JFormFieldComponentLayout::getInput
- JUser::getInstance
- JTable::getInstance
- JCacheStorage::getInstance
- JModel::getInstance
- JView::getName
- JFormFieldSQL::getOptions
- JFormFieldEditors::getOptions
- JFormFieldCategory::getOptions
- JFactory::getXML
- JFactory::getXMLParser
- JInstallerTemplate::install
- JInstallerComponent::install
- JInstallerLanguage::install
- JInstallerFile::install
- JHtmlAccess::level
- JFTP::listDetails
- JFTP::listNames
- JUser::load
- JToolBar::loadButtonType
- JFTP::login
- JFTP::mkdir
- JFile::move
- JInstaller::parseFiles
- JInstaller::parseLanguages
- JInstaller::parseMedia
- JInstaller::parseQueries
- JInstaller::parseSchemaUpdates
- JInstaller::parseSQLFiles
- JModelAdmin::publish
- JControllerAdmin::publish
- JFTP::pwd
- JFTP::read
- JFile::read
- JInstallerTemplate::refreshManifestCache
- JInstallerPlugin::refreshManifestCache
- JInstallerPackage::refreshManifestCache
- JInstallerLibrary::refreshManifestCache
- JInstallerComponent::refreshManifestCache
- JInstallerModule::refreshManifestCache
- JInstallerLanguage::refreshManifestCache
- JInstallerFile::refreshManifestCache
- JDispatcher::register
- JFTP::reinit
- JInstaller::removeFiles
- JFTP::rename
- JModelAdmin::reorder
- JFTP::restart
- JModelAdmin::saveorder
- JClientHelper::setCredentialsFromRequest
- JMail::setSender
- JFTP::store
- JFTP::syst
- JFormRuleUsername::test
- JFormRuleEmail::test
- JInstallerTemplate::uninstall
- JInstallerPlugin::uninstall
- JInstallerPackage::uninstall
- JInstallerLibrary::uninstall
- JInstallerComponent::uninstall
- JInstallerModule::uninstall
- JInstallerLanguage::uninstall
- JInstallerFile::uninstall
- JInstallerComponent::update
- JFile::upload
- JForm::validate
- JFTP::write
- JFile::write
See also
-
JError::raiseWarning source code on BitBucket
-
Class JError
-
Subpackage Error
- Other versions of JError::raiseWarning
SeeAlso:JError::raiseWarning [Edit See Also]
User contributed notes
<CodeExamplesForm />
