uawdijnntqw1x1x1
IP : 216.73.216.11
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
files
/
.
/
need-2-delete
/
mini-borishof.ru1
/
bitrix
/
modules
/
.
/
seo
/
lib
/
adv
/
order.php
/
/
<?php namespace Bitrix\Seo\Adv; use Bitrix\Main\Application; use Bitrix\Main\Entity; use Bitrix\Main\Type\DateTime; use Bitrix\Main\Web\HttpClient; use Bitrix\Seo\Engine; /** * Class OrderTable * * Fields: * <ul> * <li> ID int mandatory * <li> ENGINE_ID int mandatory * <li> TIMESTAMP_X datetime mandatory default 'CURRENT_TIMESTAMP' * <li> REQUEST_URI string(100) mandatory * <li> REQUEST_DATA string optional * <li> RESPONSE_TIME double mandatory * <li> RESPONSE_STATUS int optional * <li> RESPONSE_DATA string optional * </ul> * * @package Bitrix\Seo **/ class OrderTable extends Entity\DataManager { const PROCESSED = 'Y'; const NOT_PROCESSED = 'N'; /** * Returns DB table name for entity. * * @return string */ public static function getTableName() { return 'b_seo_adv_order'; } /** * Returns entity map definition. * * @return array */ public static function getMap() { return array( 'ID' => array( 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true, ), 'ENGINE_ID' => array( 'data_type' => 'integer', 'required' => true, ), 'TIMESTAMP_X' => array( 'data_type' => 'datetime', 'required' => true, ), 'CAMPAIGN_ID' => array( 'data_type' => 'integer', 'required' => true, ), 'BANNER_ID' => array( 'data_type' => 'integer', 'required' => true, ), 'ORDER_ID' => array( 'data_type' => 'integer', 'required' => true, ), 'SUM' => array( 'data_type' => 'float', ), 'PROCESSED' => array( 'data_type' => 'boolean', 'values' => array(static::NOT_PROCESSED, static::PROCESSED), ), 'CAMPAIGN' => array( 'data_type' => 'Bitrix\Seo\Adv\YandexCampaignTable', 'reference' => array('=this.CAMPAIGN_ID' => 'ref.ID'), ), 'BANNER' => array( 'data_type' => 'Bitrix\Seo\Adv\YandexBannerTable', 'reference' => array('=this.BANNER_ID' => 'ref.ID'), ), 'ORDER' => array( 'data_type' => 'Bitrix\Sale\OrderTable', 'reference' => array('=this.ORDER_ID' => 'ref.ID'), ) ); } public static function onBeforeAdd(Entity\Event $event) { $result = new Entity\EventResult(); $result->modifyFields(array("TIMESTAMP_X" => new DateTime())); return $result; } }
/var/files/./need-2-delete/mini-borishof.ru1/bitrix/modules/./seo/lib/adv/order.php