PEAR Manual
Prev |  | Next

# Cache_Lite::setToDebug()

Cache_Lite::setToDebug() -- Set to debug mode

## Synopsis

    require_once 'Cache/Lite.php';

``void Cache_Lite::setToDebug` ()`

## Description

when an error is found, the script will stop and the message will be displayed (in debug mode only) ; same effect than pearErrorMode option in the constructor

## Note

This function can not be called statically.

Prev | Home | Next
Cache_Lite::clean() | Up | Cache_Lite::setLifeTime()