Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.988 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 198 | libraries/joomla/error/error.php |
2 | 4 | 213 | libraries/joomla/error/error.php |
| ||||
/** * Wrapper method for the {@link raise()} method with predefined error level of E_WARNING and backtrace set to false. * * @param string $code The application-internal error code for this error * @param string $msg The error message, which may also be shown the user if need be. * @param mixed $info Optional: Additional error information (usually only developer-relevant information that the user should never see, like a database DSN). * @return object $error The configured JError object * @since 1.5 */ public static function &raiseWarning($code, $msg, $info= NULL) { $reference= & JError::raise( E_WARNING ,$code, $msg, $info); return $reference; } |
| ||||
/** * Wrapper method for the {@link raise()} method with predefined error level of E_NOTICE and backtrace set to false. * * @param string $code The application-internal error code for this error * @param string $msg The error message, which may also be shown the user if need be. * @param mixed $info Optional: Additional error information (usually only developer-relevant information that the user should never see, like a database DSN). * @return object $error The configured JError object * @since 1.5 */ public static function &raiseNotice($code, $msg, $info= NULL) { $reference= & JError::raise( E_NOTICE ,$code, $msg, $info); return $reference; } |
| |||
/** * Wrapper method for the {@link raise()} method with predefined error level of E_WARNING and backtrace set to false. * * @param string $code The application-internal error code for this error * @param string $msg The error message, which may also be shown the user if need be. * @param mixed $info Optional: Additional error information (usually only developer-relevant information that the user should never see, like a database DSN). * @return object $error The configured JError object * @since 1.5 */ /** * Wrapper method for the {@link raise()} method with predefined error level of E_NOTICE and backtrace set to false. * * @param string $code The application-internal error code for this error * @param string $msg The error message, which may also be shown the user if need be. * @param mixed $info Optional: Additional error information (usually only developer-relevant information that the user should never see, like a database DSN). * @return object $error The configured JError object * @since 1.5 */ public static function & [[#variable3c8eb020]]($code,$msg,$info=NULL) { $reference= &JError::raise( [[#variable3c8eb0e0]],$code,$msg,$info); return $reference; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3c8eb020]] | raiseWarning |
1 | 2 | [[#3c8eb020]] | raiseNotice |
2 | 1 | [[#3c8eb0e0]] | E_WARNING |
2 | 2 | [[#3c8eb0e0]] | E_NOTICE |