You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
438 B
20 lines
438 B
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
class Event_page_visit_model extends CI_Model {
|
|
|
|
public function __construct() {
|
|
parent::__construct();
|
|
}
|
|
|
|
public function page_visit($event_id, $page_visitor)
|
|
{
|
|
$this->db->insert('event_page_visit',
|
|
array(
|
|
'page_visitor' => $page_visitor,
|
|
'event_id' => $event_id,
|
|
'visit_medium' => 0
|
|
)
|
|
);
|
|
}
|
|
|
|
}
|