17 lines
388 B
PHP
17 lines
388 B
PHP
|
<?php
|
||
|
class AntReferer extends ObjectModel
|
||
|
{
|
||
|
public $referer_url;
|
||
|
public $nb_visits;
|
||
|
|
||
|
public static $definition = array(
|
||
|
'table' => 'ant_marketing_referer',
|
||
|
'multilang' => true,
|
||
|
'primary' => 'referer_url',
|
||
|
'fields' => array(
|
||
|
'referer_url' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName'),
|
||
|
'nb_visits' => array('type' => self::TYPE_INT),
|
||
|
)
|
||
|
);
|
||
|
}
|