Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
array $_directives = 'array'
Frontend or Core directives
=====> (int) lifetime : - Cache lifetime (in seconds) - If null, the cache is valid forever
=====> (int) logging : - if set to true, a logging is activated throw Zend_Log
array $_options = 'array'
Available options
__construct(
array $options
=
array
)
:
void
Constructor
_isGoodTmpDir(
$dir $dir
)
:
boolean
Verify if the given temporary directory is readable and writable
_log(
string $message, $priority
=
4
)
:
void
Log a message at the WARN (4) priority.
_loggerSanity(
)
:
void
Make sure if we enable logging that the Zend_Log class is available.
Create a default log object if none is set.
getLifetime(
int $specificLifetime
)
:
int
Get the life time
if $specificLifetime is not false, the given specific life time is used else, the global lifetime is used
getTmpDir(
)
:
string
Determine system TMP directory and detect if we have read access
inspired from Zend_File_Transfer_Adapter_Abstract
isAutomaticCleaningAvailable(
)
:
boolean
Return true if the automatic cleaning is available for the backend
DEPRECATED : use getCapabilities() instead
setDirectives(
array $directives
)
:
void
Set the frontend directives
setOption(
string $name, mixed $value
)
:
void
Set an option