{
$parser = self::_prepareParser($parameters);
if (empty($parameters['output'])) {
+ if (!class_exists('Horde_Cli')) {
+ throw new Horde_Kolab_Format_Exception('The Horde_Cli package seems to be missing (Class Horde_Cli is missing)!');
+ }
$cli = Horde_Cli::init();
} else {
$cli = $parameters['output'];
} else {
$handler = $this->create($format_type, $object_type, $params);
}
+ if (!class_exists('Horde_Support_Timer')) {
+ throw new Horde_Kolab_Format_Exception('The Horde_Support package seems to be missing (Class Horde_Support_Timer is missing)!');
+ }
return new Horde_Kolab_Format_Decorator_Timed(
$handler,
new Horde_Support_Timer(),
</required>
<optional>
<package>
- <name>Test</name>
+ <name>Cli</name>
+ <channel>pear.horde.org</channel>
+ </package>
+ <package>
+ <name>Date</name>
<channel>pear.horde.org</channel>
</package>
<package>
<channel>pear.horde.org</channel>
</package>
<package>
- <name>Date</name>
+ <name>Test</name>
<channel>pear.horde.org</channel>
</package>
<package>