Documentation

Core_Exception extends Exception
in package

Exceptions

Tags
subpackage

Core

version
7.x
author

Hostmake LLC

copyright

© 2005-2024 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

Methods

__construct()  : mixed
Constructor.
cutRootPath()  : string
Cut CMS_FOLDER from $path

Methods

__construct()

Constructor.

public __construct([string $message = NULL ][, array<string|int, mixed> $values = array() ][, int $code = 0 ][, bool $bShowDebugTrace = TRUE ][, int $status = 0 ][, bool $log = TRUE ]) : mixed

Exception $previous = NULL just for PHP 5.3.0+

Parameters
$message : string = NULL

message text

$values : array<string|int, mixed> = array()

values for exchange

$code : int = 0

error code

$bShowDebugTrace : bool = TRUE

debug trace info mode

$status : int = 0

error status

$log : bool = TRUE

write to log

cutRootPath()

Cut CMS_FOLDER from $path

public static cutRootPath(string $path) : string
Parameters
$path : string

path

Tags
see
Core::cutRootPath
Return values
string

        
On this page

Search results