/** * @param ALBUM_APPLICATION $context Main application. */ public function __construct($context) { parent::__construct($context); include_once 'webcore/sys/date_time.php'; $this->first_day = $context->make_date_time(); $this->last_day = $context->make_date_time(); }