API17

Difference between revisions of "JError::raiseError"

From Joomla! Documentation

m (JoomlaWikiBot moved page JError::raiseError/11.1 to API17:JError::raiseError without leaving a redirect: Robot: Moved page)
m (→‎User contributed notes: moving preparation)
Line 99: Line 99:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JError]][[Category:JError::raiseError]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 10:54, 11 May 2013

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JError::raiseError[edit]

Description[edit]

Wrapper method for the method with predefined error level of E_ERROR and backtrace set to true.

Template: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).

See also[edit]

Template:SeeAlso:JError::raiseError [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />