/** * Constructor. * * @param object An optional KConfig object with configuration options */ public function __construct($config = null) { if (!$config) { $config = new KConfig(); } $config->append(array('date' => gmdate('Y-m-d H:i:s'))); parent::__construct($config); }