Your IP : 216.73.216.158


Current Path : /home/megadansyp/www/administrator/components/com_eventgallery/tables/
Upload File :
Current File : /home/megadansyp/www/administrator/components/com_eventgallery/tables/downloadlog.php

<?php
/**
 * @package     Sven.Bluege
 * @subpackage  com_eventgallery
 *
 * @copyright   Copyright (C) 2005 - 2019 Sven Bluege All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
// no direct access
defined('_JEXEC') or die('Restricted access');


class EventgalleryTableDownloadlog extends JTable
{


    public $id;
    public $folder;
    public $file;
    public $type;
    public $userid;
    public $browser;
    public $isbot;
    public $reference;
    public $created;

    /**
     * Constructor
     * @param JDatabaseDriver $db
     */

	function __construct( &$db ) {
		parent::__construct('#__eventgallery_downloadlog', 'id', $db);
	}

    public function store($updateNulls = false) {
	    if (empty($this->id)) {
            $this->created = date("Y-m-d H:i:s");
        }
        return parent::store($updateNulls);
    }
}